Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dsms-storage.spec'], chrootPath='/var/lib/mock/dist-an23-build-278514-64462/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dsms-storage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1687305600 Wrote: /builddir/build/SRPMS/dsms-storage-1.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dsms-storage.spec'], chrootPath='/var/lib/mock/dist-an23-build-278514-64462/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dsms-storage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1687305600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FMxDv8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dsms-storage-v1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dsms-storage-v1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dsms-storage-v1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ find src -iname CMakeLists.txt -type f + sed -i s/no_version/c08edfc84e48b8f168468112d5f29a36ed93dd3f/ src/CMakeLists.txt src/arch/CMakeLists.txt src/auth/CMakeLists.txt src/bash_completion/CMakeLists.txt src/blkin/CMakeLists.txt src/blkin/blkin-lib/CMakeLists.txt src/blkin/blkin-lib/tests/CMakeLists.txt src/boost/boost/safe_numerics/CMakeLists.txt src/boost/boost/safe_numerics/concept/CMakeLists.txt src/boost/libs/align/CMakeLists.txt src/boost/libs/any/CMakeLists.txt src/boost/libs/array/CMakeLists.txt src/boost/libs/array/test/test_cmake/CMakeLists.txt src/boost/libs/assert/CMakeLists.txt src/boost/libs/assert/test/CMakeLists.txt src/boost/libs/atomic/CMakeLists.txt src/boost/libs/atomic/test/test_cmake/CMakeLists.txt src/boost/libs/beast/CMakeLists.txt src/boost/libs/beast/example/CMakeLists.txt src/boost/libs/beast/example/advanced/CMakeLists.txt src/boost/libs/beast/example/advanced/server-flex/CMakeLists.txt src/boost/libs/beast/example/advanced/server/CMakeLists.txt src/boost/libs/beast/example/echo-op/CMakeLists.txt src/boost/libs/beast/example/http/CMakeLists.txt src/boost/libs/beast/example/http/client/CMakeLists.txt src/boost/libs/beast/example/http/client/async-ssl-system-executor/CMakeLists.txt src/boost/libs/beast/example/http/client/async-ssl/CMakeLists.txt src/boost/libs/beast/example/http/client/async/CMakeLists.txt src/boost/libs/beast/example/http/client/coro-ssl/CMakeLists.txt src/boost/libs/beast/example/http/client/coro/CMakeLists.txt src/boost/libs/beast/example/http/client/crawl/CMakeLists.txt src/boost/libs/beast/example/http/client/sync-ssl/CMakeLists.txt src/boost/libs/beast/example/http/client/sync/CMakeLists.txt src/boost/libs/beast/example/http/server/CMakeLists.txt src/boost/libs/beast/example/http/server/async-ssl/CMakeLists.txt src/boost/libs/beast/example/http/server/async/CMakeLists.txt src/boost/libs/beast/example/http/server/coro-ssl/CMakeLists.txt src/boost/libs/beast/example/http/server/coro/CMakeLists.txt src/boost/libs/beast/example/http/server/fast/CMakeLists.txt src/boost/libs/beast/example/http/server/flex/CMakeLists.txt src/boost/libs/beast/example/http/server/small/CMakeLists.txt src/boost/libs/beast/example/http/server/stackless-ssl/CMakeLists.txt src/boost/libs/beast/example/http/server/stackless/CMakeLists.txt src/boost/libs/beast/example/http/server/sync-ssl/CMakeLists.txt src/boost/libs/beast/example/http/server/sync/CMakeLists.txt src/boost/libs/beast/example/websocket/CMakeLists.txt src/boost/libs/beast/example/websocket/client/CMakeLists.txt src/boost/libs/beast/example/websocket/client/async-ssl-system-executor/CMakeLists.txt src/boost/libs/beast/example/websocket/client/async-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/client/async/CMakeLists.txt src/boost/libs/beast/example/websocket/client/coro-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/client/coro/CMakeLists.txt src/boost/libs/beast/example/websocket/client/sync-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/client/sync/CMakeLists.txt src/boost/libs/beast/example/websocket/server/CMakeLists.txt src/boost/libs/beast/example/websocket/server/async-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/server/async/CMakeLists.txt src/boost/libs/beast/example/websocket/server/chat-multi/CMakeLists.txt src/boost/libs/beast/example/websocket/server/coro-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/server/coro/CMakeLists.txt src/boost/libs/beast/example/websocket/server/fast/CMakeLists.txt src/boost/libs/beast/example/websocket/server/stackless-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/server/stackless/CMakeLists.txt src/boost/libs/beast/example/websocket/server/sync-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/server/sync/CMakeLists.txt src/boost/libs/beast/test/CMakeLists.txt src/boost/libs/beast/test/beast/CMakeLists.txt src/boost/libs/beast/test/beast/_experimental/CMakeLists.txt src/boost/libs/beast/test/beast/core/CMakeLists.txt src/boost/libs/beast/test/beast/http/CMakeLists.txt src/boost/libs/beast/test/beast/ssl/CMakeLists.txt src/boost/libs/beast/test/beast/websocket/CMakeLists.txt src/boost/libs/beast/test/beast/zlib/CMakeLists.txt src/boost/libs/beast/test/bench/CMakeLists.txt src/boost/libs/beast/test/bench/buffers/CMakeLists.txt src/boost/libs/beast/test/bench/parser/CMakeLists.txt src/boost/libs/beast/test/bench/utf8_checker/CMakeLists.txt src/boost/libs/beast/test/bench/wsload/CMakeLists.txt src/boost/libs/beast/test/bench/zlib/CMakeLists.txt src/boost/libs/beast/test/example/CMakeLists.txt src/boost/libs/beast/test/example/common/CMakeLists.txt src/boost/libs/beast/test/extern/zlib-1.2.11/CMakeLists.txt src/boost/libs/bind/CMakeLists.txt src/boost/libs/bind/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/callable_traits/CMakeLists.txt src/boost/libs/callable_traits/example/CMakeLists.txt src/boost/libs/callable_traits/test/CMakeLists.txt src/boost/libs/circular_buffer/CMakeLists.txt src/boost/libs/compute/CMakeLists.txt src/boost/libs/compute/example/CMakeLists.txt src/boost/libs/compute/perf/CMakeLists.txt src/boost/libs/compute/test/CMakeLists.txt src/boost/libs/compute/test/extra/CMakeLists.txt src/boost/libs/concept_check/CMakeLists.txt src/boost/libs/config/CMakeLists.txt src/boost/libs/config/test/CMakeLists.txt src/boost/libs/container/CMakeLists.txt src/boost/libs/conversion/CMakeLists.txt src/boost/libs/core/CMakeLists.txt src/boost/libs/core/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/detail/CMakeLists.txt src/boost/libs/dynamic_bitset/CMakeLists.txt src/boost/libs/endian/CMakeLists.txt src/boost/libs/endian/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/exception/CMakeLists.txt src/boost/libs/filesystem/CMakeLists.txt src/boost/libs/function/CMakeLists.txt src/boost/libs/function/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/gil/CMakeLists.txt src/boost/libs/gil/example/CMakeLists.txt src/boost/libs/gil/test/CMakeLists.txt src/boost/libs/gil/test/core/CMakeLists.txt src/boost/libs/gil/test/core/algorithm/CMakeLists.txt src/boost/libs/gil/test/core/channel/CMakeLists.txt src/boost/libs/gil/test/core/color/CMakeLists.txt src/boost/libs/gil/test/core/color_base/CMakeLists.txt src/boost/libs/gil/test/core/image/CMakeLists.txt src/boost/libs/gil/test/core/image_processing/CMakeLists.txt src/boost/libs/gil/test/core/image_view/CMakeLists.txt src/boost/libs/gil/test/core/iterator/CMakeLists.txt src/boost/libs/gil/test/core/locator/CMakeLists.txt src/boost/libs/gil/test/core/pixel/CMakeLists.txt src/boost/libs/gil/test/core/point/CMakeLists.txt src/boost/libs/gil/test/extension/CMakeLists.txt src/boost/libs/gil/test/extension/dynamic_image/CMakeLists.txt src/boost/libs/gil/test/extension/io/CMakeLists.txt src/boost/libs/gil/test/extension/numeric/CMakeLists.txt src/boost/libs/gil/test/extension/toolbox/CMakeLists.txt src/boost/libs/gil/test/header/CMakeLists.txt src/boost/libs/gil/test/legacy/CMakeLists.txt src/boost/libs/hana/CMakeLists.txt src/boost/libs/hana/benchmark/CMakeLists.txt src/boost/libs/hana/example/CMakeLists.txt src/boost/libs/hana/example/cmake_integration/CMakeLists.txt src/boost/libs/hana/test/CMakeLists.txt src/boost/libs/hana/test/deploy/CMakeLists.txt src/boost/libs/histogram/CMakeLists.txt src/boost/libs/histogram/benchmark/CMakeLists.txt src/boost/libs/histogram/test/CMakeLists.txt src/boost/libs/hof/CMakeLists.txt src/boost/libs/integer/CMakeLists.txt src/boost/libs/intrusive/CMakeLists.txt src/boost/libs/iterator/CMakeLists.txt src/boost/libs/lexical_cast/CMakeLists.txt src/boost/libs/logic/CMakeLists.txt src/boost/libs/move/CMakeLists.txt src/boost/libs/mp11/CMakeLists.txt src/boost/libs/mp11/test/CMakeLists.txt src/boost/libs/mp11/test/cmake_install_test/CMakeLists.txt src/boost/libs/mp11/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/mpl/CMakeLists.txt src/boost/libs/outcome/CMakeLists.txt src/boost/libs/parameter/CMakeLists.txt src/boost/libs/parameter/test/CMakeLists.txt src/boost/libs/polygon/CMakeLists.txt src/boost/libs/pool/CMakeLists.txt src/boost/libs/predef/CMakeLists.txt src/boost/libs/predef/test/test_cmake/CMakeLists.txt src/boost/libs/preprocessor/CMakeLists.txt src/boost/libs/preprocessor/test/CMakeLists.txt src/boost/libs/ratio/CMakeLists.txt src/boost/libs/ratio/test/CMakeLists.txt src/boost/libs/ratio/test/test_cmake/CMakeLists.txt src/boost/libs/rational/CMakeLists.txt src/boost/libs/rational/test/CMakeLists.txt src/boost/libs/safe_numerics/CMakeLists.txt src/boost/libs/safe_numerics/example/CMakeLists.txt src/boost/libs/safe_numerics/test/CMakeLists.txt src/boost/libs/serialization/CMake/CMakeLists.txt src/boost/libs/smart_ptr/CMakeLists.txt src/boost/libs/smart_ptr/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/static_assert/CMakeLists.txt src/boost/libs/system/CMakeLists.txt src/boost/libs/system/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/test/build/CMakeLists.txt src/boost/libs/throw_exception/CMakeLists.txt src/boost/libs/type_index/CMakeLists.txt src/boost/libs/type_traits/CMakeLists.txt src/boost/libs/utility/CMakeLists.txt src/boost/libs/variant/CMakeLists.txt src/boost/libs/variant2/CMakeLists.txt src/boost/libs/variant2/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/vmd/CMakeLists.txt src/boost/libs/vmd/test/test_cmake/CMakeLists.txt src/boost/libs/winapi/CMakeLists.txt src/boost/libs/yap/CMakeLists.txt src/boost/libs/yap/example/CMakeLists.txt src/boost/libs/yap/perf/CMakeLists.txt src/boost/libs/yap/test/CMakeLists.txt src/boost/tools/boost_install/test/atomic/CMakeLists.txt src/boost/tools/boost_install/test/chrono/CMakeLists.txt src/boost/tools/boost_install/test/container/CMakeLists.txt src/boost/tools/boost_install/test/filesystem/CMakeLists.txt src/boost/tools/boost_install/test/headers/CMakeLists.txt src/boost/tools/boost_install/test/iostreams/CMakeLists.txt src/boost/tools/boost_install/test/iostreams/zlib-1.2.11/CMakeLists.txt src/boost/tools/boost_install/test/log/CMakeLists.txt src/boost/tools/boost_install/test/mpi/CMakeLists.txt src/boost/tools/boost_install/test/program_options/CMakeLists.txt src/boost/tools/boost_install/test/python/CMakeLists.txt src/boost/tools/boost_install/test/random/CMakeLists.txt src/boost/tools/boost_install/test/regex/CMakeLists.txt src/boost/tools/boost_install/test/serialization/CMakeLists.txt src/boost/tools/boost_install/test/system/CMakeLists.txt src/boost/tools/boost_install/test/test/CMakeLists.txt src/boost/tools/boost_install/test/thread/CMakeLists.txt src/boost/tools/boost_install/test/wave/CMakeLists.txt src/boost/tools/boostdep/CMakeLists.txt src/c-ares/CMakeLists.txt src/c-ares/test/gmock-1.7.0/CMakeLists.txt src/c-ares/test/gmock-1.7.0/gtest/CMakeLists.txt src/ceph-volume/CMakeLists.txt src/ceph-volume/plugin/zfs/CMakeLists.txt src/cephadm/CMakeLists.txt src/civetweb/CMakeLists.txt src/civetweb/src/CMakeLists.txt src/civetweb/test/CMakeLists.txt src/client/CMakeLists.txt src/cls/CMakeLists.txt src/common/CMakeLists.txt src/compressor/CMakeLists.txt src/compressor/brotli/CMakeLists.txt src/compressor/lz4/CMakeLists.txt src/compressor/snappy/CMakeLists.txt src/compressor/zlib/CMakeLists.txt src/compressor/zstd/CMakeLists.txt src/crimson/CMakeLists.txt src/crimson/os/CMakeLists.txt src/crimson/os/alienstore/CMakeLists.txt src/crimson/os/cyanstore/CMakeLists.txt src/crimson/osd/CMakeLists.txt src/crush/CMakeLists.txt src/crypto/CMakeLists.txt src/crypto/isa-l/CMakeLists.txt src/crypto/openssl/CMakeLists.txt src/crypto/qat/CMakeLists.txt src/dmclock/CMakeLists.txt src/dmclock/sim/CMakeLists.txt src/dmclock/sim/src/CMakeLists.txt src/dmclock/src/CMakeLists.txt src/dmclock/support/test/CMakeLists.txt src/dmclock/test/CMakeLists.txt src/erasure-code/CMakeLists.txt src/erasure-code/clay/CMakeLists.txt src/erasure-code/isa/CMakeLists.txt src/erasure-code/jerasure/CMakeLists.txt src/erasure-code/lrc/CMakeLists.txt src/erasure-code/shec/CMakeLists.txt src/fmt/CMakeLists.txt src/fmt/doc/CMakeLists.txt src/fmt/test/CMakeLists.txt src/fmt/test/add-subdirectory-test/CMakeLists.txt src/fmt/test/compile-test/CMakeLists.txt src/fmt/test/find-package-test/CMakeLists.txt src/global/CMakeLists.txt src/googletest/CMakeLists.txt src/googletest/googlemock/CMakeLists.txt src/googletest/googletest/CMakeLists.txt src/include/CMakeLists.txt src/java/CMakeLists.txt src/java/native/CMakeLists.txt src/journal/CMakeLists.txt src/json_spirit/CMakeLists.txt src/key_value_store/CMakeLists.txt src/kv/CMakeLists.txt src/librados/CMakeLists.txt src/libradosstriper/CMakeLists.txt src/librbd/CMakeLists.txt src/lua/CMakeLists.txt src/mds/CMakeLists.txt src/mgr/CMakeLists.txt src/mon/CMakeLists.txt src/mount/CMakeLists.txt src/msg/CMakeLists.txt src/ocf/CMakeLists.txt src/os/CMakeLists.txt src/osd/CMakeLists.txt src/osdc/CMakeLists.txt src/perfglue/CMakeLists.txt src/pybind/CMakeLists.txt src/pybind/cephfs/CMakeLists.txt src/pybind/mgr/CMakeLists.txt src/pybind/mgr/dashboard/CMakeLists.txt src/pybind/mgr/insights/CMakeLists.txt src/pybind/mgr/rook/CMakeLists.txt src/pybind/rados/CMakeLists.txt src/pybind/rbd/CMakeLists.txt src/pybind/rgw/CMakeLists.txt src/python-common/CMakeLists.txt src/rapidjson/CMakeLists.txt src/rapidjson/doc/CMakeLists.txt src/rapidjson/example/CMakeLists.txt src/rapidjson/test/CMakeLists.txt src/rapidjson/test/perftest/CMakeLists.txt src/rapidjson/test/unittest/CMakeLists.txt src/rapidjson/thirdparty/gtest/CMakeLists.txt src/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt src/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt src/rbd_fuse/CMakeLists.txt src/rbd_replay/CMakeLists.txt src/rgw/CMakeLists.txt src/rocksdb/CMakeLists.txt src/rocksdb/java/CMakeLists.txt src/rocksdb/third-party/gtest-1.7.0/fused-src/gtest/CMakeLists.txt src/rocksdb/tools/CMakeLists.txt src/script/CMakeLists.txt src/seastar/CMakeLists.txt src/seastar/apps/CMakeLists.txt src/seastar/apps/httpd/CMakeLists.txt src/seastar/apps/io_tester/CMakeLists.txt src/seastar/apps/iotune/CMakeLists.txt src/seastar/apps/memcached/CMakeLists.txt src/seastar/apps/memcached/tests/CMakeLists.txt src/seastar/apps/seawreck/CMakeLists.txt src/seastar/demos/CMakeLists.txt src/seastar/doc/CMakeLists.txt src/seastar/tests/CMakeLists.txt src/seastar/tests/perf/CMakeLists.txt src/seastar/tests/unit/CMakeLists.txt src/spawn/CMakeLists.txt src/spawn/test/CMakeLists.txt src/spawn/test/dependency/CMakeLists.txt src/spawn/test/dependency/googletest/CMakeLists.txt src/spawn/test/dependency/googletest/googlemock/CMakeLists.txt src/spawn/test/dependency/googletest/googletest/CMakeLists.txt src/spdk/ocf/tests/unit/tests/ocf_env/CMakeLists.txt src/test/CMakeLists.txt src/test/ObjectMap/CMakeLists.txt src/test/cls_hello/CMakeLists.txt src/test/cls_journal/CMakeLists.txt src/test/cls_lock/CMakeLists.txt src/test/cls_log/CMakeLists.txt src/test/cls_lua/CMakeLists.txt src/test/cls_numops/CMakeLists.txt src/test/cls_queue/CMakeLists.txt src/test/cls_rbd/CMakeLists.txt src/test/cls_refcount/CMakeLists.txt src/test/cls_rgw/CMakeLists.txt src/test/cls_rgw_gc/CMakeLists.txt src/test/cls_sdk/CMakeLists.txt src/test/cls_version/CMakeLists.txt src/test/common/CMakeLists.txt src/test/compressor/CMakeLists.txt src/test/crimson/CMakeLists.txt src/test/crush/CMakeLists.txt src/test/direct_messenger/CMakeLists.txt src/test/encoding/CMakeLists.txt src/test/erasure-code/CMakeLists.txt src/test/filestore/CMakeLists.txt src/test/fio/CMakeLists.txt src/test/fs/CMakeLists.txt src/test/immutable_object_cache/CMakeLists.txt src/test/journal/CMakeLists.txt src/test/lazy-omap-stats/CMakeLists.txt src/test/libcephfs/CMakeLists.txt src/test/librados/CMakeLists.txt src/test/librados_test_stub/CMakeLists.txt src/test/libradosstriper/CMakeLists.txt src/test/librbd/CMakeLists.txt src/test/mds/CMakeLists.txt src/test/mgr/CMakeLists.txt src/test/mon/CMakeLists.txt src/test/msgr/CMakeLists.txt src/test/objectstore/CMakeLists.txt src/test/os/CMakeLists.txt src/test/osd/CMakeLists.txt src/test/osdc/CMakeLists.txt src/test/pybind/CMakeLists.txt src/test/rbd_mirror/CMakeLists.txt src/test/rgw/CMakeLists.txt src/test/system/CMakeLists.txt src/tools/CMakeLists.txt src/tools/ceph-dencoder/CMakeLists.txt src/tools/cephfs/CMakeLists.txt src/tools/crimson/CMakeLists.txt src/tools/erasure-code/CMakeLists.txt src/tools/immutable_object_cache/CMakeLists.txt src/tools/rbd/CMakeLists.txt src/tools/rbd_ggate/CMakeLists.txt src/tools/rbd_mirror/CMakeLists.txt src/tools/rbd_nbd/CMakeLists.txt src/tracing/CMakeLists.txt src/xxHash/cmake_unofficial/CMakeLists.txt src/zstd/build/cmake/CMakeLists.txt src/zstd/build/cmake/contrib/CMakeLists.txt src/zstd/build/cmake/contrib/gen_html/CMakeLists.txt src/zstd/build/cmake/contrib/pzstd/CMakeLists.txt src/zstd/build/cmake/lib/CMakeLists.txt src/zstd/build/cmake/programs/CMakeLists.txt src/zstd/build/cmake/tests/CMakeLists.txt ++ find src -iname CMakeLists.txt -type f + sed -i s/Development/15.2.15/ src/CMakeLists.txt src/arch/CMakeLists.txt src/auth/CMakeLists.txt src/bash_completion/CMakeLists.txt src/blkin/CMakeLists.txt src/blkin/blkin-lib/CMakeLists.txt src/blkin/blkin-lib/tests/CMakeLists.txt src/boost/boost/safe_numerics/CMakeLists.txt src/boost/boost/safe_numerics/concept/CMakeLists.txt src/boost/libs/align/CMakeLists.txt src/boost/libs/any/CMakeLists.txt src/boost/libs/array/CMakeLists.txt src/boost/libs/array/test/test_cmake/CMakeLists.txt src/boost/libs/assert/CMakeLists.txt src/boost/libs/assert/test/CMakeLists.txt src/boost/libs/atomic/CMakeLists.txt src/boost/libs/atomic/test/test_cmake/CMakeLists.txt src/boost/libs/beast/CMakeLists.txt src/boost/libs/beast/example/CMakeLists.txt src/boost/libs/beast/example/advanced/CMakeLists.txt src/boost/libs/beast/example/advanced/server-flex/CMakeLists.txt src/boost/libs/beast/example/advanced/server/CMakeLists.txt src/boost/libs/beast/example/echo-op/CMakeLists.txt src/boost/libs/beast/example/http/CMakeLists.txt src/boost/libs/beast/example/http/client/CMakeLists.txt src/boost/libs/beast/example/http/client/async-ssl-system-executor/CMakeLists.txt src/boost/libs/beast/example/http/client/async-ssl/CMakeLists.txt src/boost/libs/beast/example/http/client/async/CMakeLists.txt src/boost/libs/beast/example/http/client/coro-ssl/CMakeLists.txt src/boost/libs/beast/example/http/client/coro/CMakeLists.txt src/boost/libs/beast/example/http/client/crawl/CMakeLists.txt src/boost/libs/beast/example/http/client/sync-ssl/CMakeLists.txt src/boost/libs/beast/example/http/client/sync/CMakeLists.txt src/boost/libs/beast/example/http/server/CMakeLists.txt src/boost/libs/beast/example/http/server/async-ssl/CMakeLists.txt src/boost/libs/beast/example/http/server/async/CMakeLists.txt src/boost/libs/beast/example/http/server/coro-ssl/CMakeLists.txt src/boost/libs/beast/example/http/server/coro/CMakeLists.txt src/boost/libs/beast/example/http/server/fast/CMakeLists.txt src/boost/libs/beast/example/http/server/flex/CMakeLists.txt src/boost/libs/beast/example/http/server/small/CMakeLists.txt src/boost/libs/beast/example/http/server/stackless-ssl/CMakeLists.txt src/boost/libs/beast/example/http/server/stackless/CMakeLists.txt src/boost/libs/beast/example/http/server/sync-ssl/CMakeLists.txt src/boost/libs/beast/example/http/server/sync/CMakeLists.txt src/boost/libs/beast/example/websocket/CMakeLists.txt src/boost/libs/beast/example/websocket/client/CMakeLists.txt src/boost/libs/beast/example/websocket/client/async-ssl-system-executor/CMakeLists.txt src/boost/libs/beast/example/websocket/client/async-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/client/async/CMakeLists.txt src/boost/libs/beast/example/websocket/client/coro-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/client/coro/CMakeLists.txt src/boost/libs/beast/example/websocket/client/sync-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/client/sync/CMakeLists.txt src/boost/libs/beast/example/websocket/server/CMakeLists.txt src/boost/libs/beast/example/websocket/server/async-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/server/async/CMakeLists.txt src/boost/libs/beast/example/websocket/server/chat-multi/CMakeLists.txt src/boost/libs/beast/example/websocket/server/coro-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/server/coro/CMakeLists.txt src/boost/libs/beast/example/websocket/server/fast/CMakeLists.txt src/boost/libs/beast/example/websocket/server/stackless-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/server/stackless/CMakeLists.txt src/boost/libs/beast/example/websocket/server/sync-ssl/CMakeLists.txt src/boost/libs/beast/example/websocket/server/sync/CMakeLists.txt src/boost/libs/beast/test/CMakeLists.txt src/boost/libs/beast/test/beast/CMakeLists.txt src/boost/libs/beast/test/beast/_experimental/CMakeLists.txt src/boost/libs/beast/test/beast/core/CMakeLists.txt src/boost/libs/beast/test/beast/http/CMakeLists.txt src/boost/libs/beast/test/beast/ssl/CMakeLists.txt src/boost/libs/beast/test/beast/websocket/CMakeLists.txt src/boost/libs/beast/test/beast/zlib/CMakeLists.txt src/boost/libs/beast/test/bench/CMakeLists.txt src/boost/libs/beast/test/bench/buffers/CMakeLists.txt src/boost/libs/beast/test/bench/parser/CMakeLists.txt src/boost/libs/beast/test/bench/utf8_checker/CMakeLists.txt src/boost/libs/beast/test/bench/wsload/CMakeLists.txt src/boost/libs/beast/test/bench/zlib/CMakeLists.txt src/boost/libs/beast/test/example/CMakeLists.txt src/boost/libs/beast/test/example/common/CMakeLists.txt src/boost/libs/beast/test/extern/zlib-1.2.11/CMakeLists.txt src/boost/libs/bind/CMakeLists.txt src/boost/libs/bind/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/callable_traits/CMakeLists.txt src/boost/libs/callable_traits/example/CMakeLists.txt src/boost/libs/callable_traits/test/CMakeLists.txt src/boost/libs/circular_buffer/CMakeLists.txt src/boost/libs/compute/CMakeLists.txt src/boost/libs/compute/example/CMakeLists.txt src/boost/libs/compute/perf/CMakeLists.txt src/boost/libs/compute/test/CMakeLists.txt src/boost/libs/compute/test/extra/CMakeLists.txt src/boost/libs/concept_check/CMakeLists.txt src/boost/libs/config/CMakeLists.txt src/boost/libs/config/test/CMakeLists.txt src/boost/libs/container/CMakeLists.txt src/boost/libs/conversion/CMakeLists.txt src/boost/libs/core/CMakeLists.txt src/boost/libs/core/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/detail/CMakeLists.txt src/boost/libs/dynamic_bitset/CMakeLists.txt src/boost/libs/endian/CMakeLists.txt src/boost/libs/endian/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/exception/CMakeLists.txt src/boost/libs/filesystem/CMakeLists.txt src/boost/libs/function/CMakeLists.txt src/boost/libs/function/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/gil/CMakeLists.txt src/boost/libs/gil/example/CMakeLists.txt src/boost/libs/gil/test/CMakeLists.txt src/boost/libs/gil/test/core/CMakeLists.txt src/boost/libs/gil/test/core/algorithm/CMakeLists.txt src/boost/libs/gil/test/core/channel/CMakeLists.txt src/boost/libs/gil/test/core/color/CMakeLists.txt src/boost/libs/gil/test/core/color_base/CMakeLists.txt src/boost/libs/gil/test/core/image/CMakeLists.txt src/boost/libs/gil/test/core/image_processing/CMakeLists.txt src/boost/libs/gil/test/core/image_view/CMakeLists.txt src/boost/libs/gil/test/core/iterator/CMakeLists.txt src/boost/libs/gil/test/core/locator/CMakeLists.txt src/boost/libs/gil/test/core/pixel/CMakeLists.txt src/boost/libs/gil/test/core/point/CMakeLists.txt src/boost/libs/gil/test/extension/CMakeLists.txt src/boost/libs/gil/test/extension/dynamic_image/CMakeLists.txt src/boost/libs/gil/test/extension/io/CMakeLists.txt src/boost/libs/gil/test/extension/numeric/CMakeLists.txt src/boost/libs/gil/test/extension/toolbox/CMakeLists.txt src/boost/libs/gil/test/header/CMakeLists.txt src/boost/libs/gil/test/legacy/CMakeLists.txt src/boost/libs/hana/CMakeLists.txt src/boost/libs/hana/benchmark/CMakeLists.txt src/boost/libs/hana/example/CMakeLists.txt src/boost/libs/hana/example/cmake_integration/CMakeLists.txt src/boost/libs/hana/test/CMakeLists.txt src/boost/libs/hana/test/deploy/CMakeLists.txt src/boost/libs/histogram/CMakeLists.txt src/boost/libs/histogram/benchmark/CMakeLists.txt src/boost/libs/histogram/test/CMakeLists.txt src/boost/libs/hof/CMakeLists.txt src/boost/libs/integer/CMakeLists.txt src/boost/libs/intrusive/CMakeLists.txt src/boost/libs/iterator/CMakeLists.txt src/boost/libs/lexical_cast/CMakeLists.txt src/boost/libs/logic/CMakeLists.txt src/boost/libs/move/CMakeLists.txt src/boost/libs/mp11/CMakeLists.txt src/boost/libs/mp11/test/CMakeLists.txt src/boost/libs/mp11/test/cmake_install_test/CMakeLists.txt src/boost/libs/mp11/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/mpl/CMakeLists.txt src/boost/libs/outcome/CMakeLists.txt src/boost/libs/parameter/CMakeLists.txt src/boost/libs/parameter/test/CMakeLists.txt src/boost/libs/polygon/CMakeLists.txt src/boost/libs/pool/CMakeLists.txt src/boost/libs/predef/CMakeLists.txt src/boost/libs/predef/test/test_cmake/CMakeLists.txt src/boost/libs/preprocessor/CMakeLists.txt src/boost/libs/preprocessor/test/CMakeLists.txt src/boost/libs/ratio/CMakeLists.txt src/boost/libs/ratio/test/CMakeLists.txt src/boost/libs/ratio/test/test_cmake/CMakeLists.txt src/boost/libs/rational/CMakeLists.txt src/boost/libs/rational/test/CMakeLists.txt src/boost/libs/safe_numerics/CMakeLists.txt src/boost/libs/safe_numerics/example/CMakeLists.txt src/boost/libs/safe_numerics/test/CMakeLists.txt src/boost/libs/serialization/CMake/CMakeLists.txt src/boost/libs/smart_ptr/CMakeLists.txt src/boost/libs/smart_ptr/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/static_assert/CMakeLists.txt src/boost/libs/system/CMakeLists.txt src/boost/libs/system/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/test/build/CMakeLists.txt src/boost/libs/throw_exception/CMakeLists.txt src/boost/libs/type_index/CMakeLists.txt src/boost/libs/type_traits/CMakeLists.txt src/boost/libs/utility/CMakeLists.txt src/boost/libs/variant/CMakeLists.txt src/boost/libs/variant2/CMakeLists.txt src/boost/libs/variant2/test/cmake_subdir_test/CMakeLists.txt src/boost/libs/vmd/CMakeLists.txt src/boost/libs/vmd/test/test_cmake/CMakeLists.txt src/boost/libs/winapi/CMakeLists.txt src/boost/libs/yap/CMakeLists.txt src/boost/libs/yap/example/CMakeLists.txt src/boost/libs/yap/perf/CMakeLists.txt src/boost/libs/yap/test/CMakeLists.txt src/boost/tools/boost_install/test/atomic/CMakeLists.txt src/boost/tools/boost_install/test/chrono/CMakeLists.txt src/boost/tools/boost_install/test/container/CMakeLists.txt src/boost/tools/boost_install/test/filesystem/CMakeLists.txt src/boost/tools/boost_install/test/headers/CMakeLists.txt src/boost/tools/boost_install/test/iostreams/CMakeLists.txt src/boost/tools/boost_install/test/iostreams/zlib-1.2.11/CMakeLists.txt src/boost/tools/boost_install/test/log/CMakeLists.txt src/boost/tools/boost_install/test/mpi/CMakeLists.txt src/boost/tools/boost_install/test/program_options/CMakeLists.txt src/boost/tools/boost_install/test/python/CMakeLists.txt src/boost/tools/boost_install/test/random/CMakeLists.txt src/boost/tools/boost_install/test/regex/CMakeLists.txt src/boost/tools/boost_install/test/serialization/CMakeLists.txt src/boost/tools/boost_install/test/system/CMakeLists.txt src/boost/tools/boost_install/test/test/CMakeLists.txt src/boost/tools/boost_install/test/thread/CMakeLists.txt src/boost/tools/boost_install/test/wave/CMakeLists.txt src/boost/tools/boostdep/CMakeLists.txt src/c-ares/CMakeLists.txt src/c-ares/test/gmock-1.7.0/CMakeLists.txt src/c-ares/test/gmock-1.7.0/gtest/CMakeLists.txt src/ceph-volume/CMakeLists.txt src/ceph-volume/plugin/zfs/CMakeLists.txt src/cephadm/CMakeLists.txt src/civetweb/CMakeLists.txt src/civetweb/src/CMakeLists.txt src/civetweb/test/CMakeLists.txt src/client/CMakeLists.txt src/cls/CMakeLists.txt src/common/CMakeLists.txt src/compressor/CMakeLists.txt src/compressor/brotli/CMakeLists.txt src/compressor/lz4/CMakeLists.txt src/compressor/snappy/CMakeLists.txt src/compressor/zlib/CMakeLists.txt src/compressor/zstd/CMakeLists.txt src/crimson/CMakeLists.txt src/crimson/os/CMakeLists.txt src/crimson/os/alienstore/CMakeLists.txt src/crimson/os/cyanstore/CMakeLists.txt src/crimson/osd/CMakeLists.txt src/crush/CMakeLists.txt src/crypto/CMakeLists.txt src/crypto/isa-l/CMakeLists.txt src/crypto/openssl/CMakeLists.txt src/crypto/qat/CMakeLists.txt src/dmclock/CMakeLists.txt src/dmclock/sim/CMakeLists.txt src/dmclock/sim/src/CMakeLists.txt src/dmclock/src/CMakeLists.txt src/dmclock/support/test/CMakeLists.txt src/dmclock/test/CMakeLists.txt src/erasure-code/CMakeLists.txt src/erasure-code/clay/CMakeLists.txt src/erasure-code/isa/CMakeLists.txt src/erasure-code/jerasure/CMakeLists.txt src/erasure-code/lrc/CMakeLists.txt src/erasure-code/shec/CMakeLists.txt src/fmt/CMakeLists.txt src/fmt/doc/CMakeLists.txt src/fmt/test/CMakeLists.txt src/fmt/test/add-subdirectory-test/CMakeLists.txt src/fmt/test/compile-test/CMakeLists.txt src/fmt/test/find-package-test/CMakeLists.txt src/global/CMakeLists.txt src/googletest/CMakeLists.txt src/googletest/googlemock/CMakeLists.txt src/googletest/googletest/CMakeLists.txt src/include/CMakeLists.txt src/java/CMakeLists.txt src/java/native/CMakeLists.txt src/journal/CMakeLists.txt src/json_spirit/CMakeLists.txt src/key_value_store/CMakeLists.txt src/kv/CMakeLists.txt src/librados/CMakeLists.txt src/libradosstriper/CMakeLists.txt src/librbd/CMakeLists.txt src/lua/CMakeLists.txt src/mds/CMakeLists.txt src/mgr/CMakeLists.txt src/mon/CMakeLists.txt src/mount/CMakeLists.txt src/msg/CMakeLists.txt src/ocf/CMakeLists.txt src/os/CMakeLists.txt src/osd/CMakeLists.txt src/osdc/CMakeLists.txt src/perfglue/CMakeLists.txt src/pybind/CMakeLists.txt src/pybind/cephfs/CMakeLists.txt src/pybind/mgr/CMakeLists.txt src/pybind/mgr/dashboard/CMakeLists.txt src/pybind/mgr/insights/CMakeLists.txt src/pybind/mgr/rook/CMakeLists.txt src/pybind/rados/CMakeLists.txt src/pybind/rbd/CMakeLists.txt src/pybind/rgw/CMakeLists.txt src/python-common/CMakeLists.txt src/rapidjson/CMakeLists.txt src/rapidjson/doc/CMakeLists.txt src/rapidjson/example/CMakeLists.txt src/rapidjson/test/CMakeLists.txt src/rapidjson/test/perftest/CMakeLists.txt src/rapidjson/test/unittest/CMakeLists.txt src/rapidjson/thirdparty/gtest/CMakeLists.txt src/rapidjson/thirdparty/gtest/googlemock/CMakeLists.txt src/rapidjson/thirdparty/gtest/googletest/CMakeLists.txt src/rbd_fuse/CMakeLists.txt src/rbd_replay/CMakeLists.txt src/rgw/CMakeLists.txt src/rocksdb/CMakeLists.txt src/rocksdb/java/CMakeLists.txt src/rocksdb/third-party/gtest-1.7.0/fused-src/gtest/CMakeLists.txt src/rocksdb/tools/CMakeLists.txt src/script/CMakeLists.txt src/seastar/CMakeLists.txt src/seastar/apps/CMakeLists.txt src/seastar/apps/httpd/CMakeLists.txt src/seastar/apps/io_tester/CMakeLists.txt src/seastar/apps/iotune/CMakeLists.txt src/seastar/apps/memcached/CMakeLists.txt src/seastar/apps/memcached/tests/CMakeLists.txt src/seastar/apps/seawreck/CMakeLists.txt src/seastar/demos/CMakeLists.txt src/seastar/doc/CMakeLists.txt src/seastar/tests/CMakeLists.txt src/seastar/tests/perf/CMakeLists.txt src/seastar/tests/unit/CMakeLists.txt src/spawn/CMakeLists.txt src/spawn/test/CMakeLists.txt src/spawn/test/dependency/CMakeLists.txt src/spawn/test/dependency/googletest/CMakeLists.txt src/spawn/test/dependency/googletest/googlemock/CMakeLists.txt src/spawn/test/dependency/googletest/googletest/CMakeLists.txt src/spdk/ocf/tests/unit/tests/ocf_env/CMakeLists.txt src/test/CMakeLists.txt src/test/ObjectMap/CMakeLists.txt src/test/cls_hello/CMakeLists.txt src/test/cls_journal/CMakeLists.txt src/test/cls_lock/CMakeLists.txt src/test/cls_log/CMakeLists.txt src/test/cls_lua/CMakeLists.txt src/test/cls_numops/CMakeLists.txt src/test/cls_queue/CMakeLists.txt src/test/cls_rbd/CMakeLists.txt src/test/cls_refcount/CMakeLists.txt src/test/cls_rgw/CMakeLists.txt src/test/cls_rgw_gc/CMakeLists.txt src/test/cls_sdk/CMakeLists.txt src/test/cls_version/CMakeLists.txt src/test/common/CMakeLists.txt src/test/compressor/CMakeLists.txt src/test/crimson/CMakeLists.txt src/test/crush/CMakeLists.txt src/test/direct_messenger/CMakeLists.txt src/test/encoding/CMakeLists.txt src/test/erasure-code/CMakeLists.txt src/test/filestore/CMakeLists.txt src/test/fio/CMakeLists.txt src/test/fs/CMakeLists.txt src/test/immutable_object_cache/CMakeLists.txt src/test/journal/CMakeLists.txt src/test/lazy-omap-stats/CMakeLists.txt src/test/libcephfs/CMakeLists.txt src/test/librados/CMakeLists.txt src/test/librados_test_stub/CMakeLists.txt src/test/libradosstriper/CMakeLists.txt src/test/librbd/CMakeLists.txt src/test/mds/CMakeLists.txt src/test/mgr/CMakeLists.txt src/test/mon/CMakeLists.txt src/test/msgr/CMakeLists.txt src/test/objectstore/CMakeLists.txt src/test/os/CMakeLists.txt src/test/osd/CMakeLists.txt src/test/osdc/CMakeLists.txt src/test/pybind/CMakeLists.txt src/test/rbd_mirror/CMakeLists.txt src/test/rgw/CMakeLists.txt src/test/system/CMakeLists.txt src/tools/CMakeLists.txt src/tools/ceph-dencoder/CMakeLists.txt src/tools/cephfs/CMakeLists.txt src/tools/crimson/CMakeLists.txt src/tools/erasure-code/CMakeLists.txt src/tools/immutable_object_cache/CMakeLists.txt src/tools/rbd/CMakeLists.txt src/tools/rbd_ggate/CMakeLists.txt src/tools/rbd_mirror/CMakeLists.txt src/tools/rbd_nbd/CMakeLists.txt src/tracing/CMakeLists.txt src/xxHash/cmake_unofficial/CMakeLists.txt src/zstd/build/cmake/CMakeLists.txt src/zstd/build/cmake/contrib/CMakeLists.txt src/zstd/build/cmake/contrib/gen_html/CMakeLists.txt src/zstd/build/cmake/contrib/pzstd/CMakeLists.txt src/zstd/build/cmake/lib/CMakeLists.txt src/zstd/build/cmake/programs/CMakeLists.txt src/zstd/build/cmake/tests/CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YjIAQ2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dsms-storage-v1.0 + export CPPFLAGS= + CPPFLAGS= + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export LDFLAGS= + LDFLAGS= + CEPH_MFLAGS_JOBS=-j80 ++ echo -j80 ++ sed s/-j// + CEPH_SMP_NCPUS=80 + echo 'Available memory:' Available memory: + free -h total used free shared buff/cache available Mem: 187Gi 4.1Gi 63Gi 2.0Mi 119Gi 181Gi Swap: 0B 0B 0B + echo 'System limits:' System limits: real-time non-blocking time (microseconds, -R) unlimited core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 767084 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 767084 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited + ulimit -a + test -n 80 -a 80 -gt 1 + mem_per_process=2500 ++ LANG=C ++ free -m ++ sed -n 's|^Mem: *\([0-9]*\).*$|\1|p' + max_mem=191806 Warning: Reducing build parallelism to -j76 because of memory limits + max_jobs=76 + test 80 -gt 76 + CEPH_SMP_NCPUS=76 + echo 'Warning: Reducing build parallelism to -j76 because of memory limits' + test 76 -le 0 + export CEPH_SMP_NCPUS + export CEPH_MFLAGS_JOBS=-j76 + CEPH_MFLAGS_JOBS=-j76 + env + sort eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@" BASH_FUNC_which%%=() { ( alias; CC=gcc CEPH_MFLAGS_JOBS=-j76 CEPH_SMP_NCPUS=76 CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection CPPFLAGS= CXX=g++ CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection FCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules FFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules HISTCONTROL=ignoredups HISTSIZE=1000 HOME=/builddir HOSTNAME=iZ2ze8vdmdyl66lfybi1hzZ LANG=C LDFLAGS= LOGNAME=mockbuild LT_SYS_LIBRARY_PATH=/usr/lib64: MAIL=/var/spool/mail/mockbuild OLDPWD=/builddir/build/BUILD PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig PROMPT_COMMAND=printf "\033]0;\007" PWD=/builddir/build/BUILD/dsms-storage-v1.0 RPM_ARCH=x86_64 RPM_BUILD_DIR=/builddir/build/BUILD RPM_BUILD_NCPUS=80 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64 RPM_DOC_DIR=/usr/share/doc RPM_OPT_FLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection RPM_OS=linux RPM_PACKAGE_NAME=dsms-storage RPM_PACKAGE_RELEASE=1.an23 RPM_PACKAGE_VERSION=1.0 RPM_SOURCE_DIR=/builddir/build/SOURCES SHELL=/bin/bash SHLVL=1 SOURCE_DATE_EPOCH=1687305600 TERM=vt100 USER=mockbuild _=/usr/bin/env which_declare=declare -f } + mkdir build + cd build + CMAKE=cmake + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_MANDIR=/usr/share/man -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/ceph -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DWITH_MANPAGE=ON -DWITH_PYTHON3=3.10 -DWITH_MGR_DASHBOARD_FRONTEND=OFF -DWITH_SYSTEM_BOOST:BOOL=ON -DENABLE_GIT_VERSION=OFF -DWITH_TESTS=OFF -DWITH_SELINUX=ON -DWITH_LTTNG=ON -DWITH_BABELTRACE=ON -DWITH_OCF=ON -DWITH_BOOST_CONTEXT=OFF -DWITH_CEPHFS_SHELL=ON -DWITH_LIBRADOSSTRIPER=ON -DWITH_RADOSGW_AMQP_ENDPOINT=ON -DWITH_RADOSGW_KAFKA_ENDPOINT=ON -DBOOST_J=76 -DWITH_GRAFANA=ON -- The CXX compiler identification is GNU 12.2.1 -- The C compiler identification is GNU 12.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for fallocate -- Looking for fallocate - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for syncfs -- Looking for syncfs - found -- Looking for sync_file_range -- Looking for sync_file_range - found -- Looking for pwritev -- Looking for pwritev - found -- Looking for splice -- Looking for splice - found -- Looking for getgrouplist -- Looking for getgrouplist - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for name_to_handle_at -- Looking for name_to_handle_at - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for accept4 -- Looking for accept4 - found -- Looking for sigdescr_np -- Looking for sigdescr_np - found -- Looking for pthread_spin_init -- Looking for pthread_spin_init - found -- Looking for pthread_set_name_np -- Looking for pthread_set_name_np - not found -- Looking for pthread_get_name_np -- Looking for pthread_get_name_np - not found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_rwlockattr_setkind_np -- Looking for pthread_rwlockattr_setkind_np - found -- Looking for eventfd -- Looking for eventfd - found -- Looking for getprogname -- Looking for getprogname - not found -- Looking for gettid -- Looking for gettid - found -- Looking for include file linux/types.h -- Looking for include file linux/types.h - found -- Looking for include file linux/version.h -- Looking for include file linux/version.h - found -- Looking for include file arpa/nameser_compat.h -- Looking for include file arpa/nameser_compat.h - found -- Looking for include file sys/mount.h -- Looking for include file sys/mount.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/vfs.h -- Looking for include file sys/vfs.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for include file sched.h -- Looking for include file sched.h - found -- Looking for include file valgrind/helgrind.h -- Looking for include file valgrind/helgrind.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of __u8 -- Check size of __u8 - done -- Check size of __u16 -- Check size of __u16 - done -- Check size of __u32 -- Check size of __u32 - done -- Check size of __u64 -- Check size of __u64 - done -- Check size of __s8 -- Check size of __s8 - done -- Check size of __s16 -- Check size of __s16 - done -- Check size of __s32 -- Check size of __s32 - done -- Check size of __s64 -- Check size of __s64 - done -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Looking for res_nquery -- Looking for res_nquery - found -- Looking for F_SETPIPE_SZ -- Looking for F_SETPIPE_SZ - found -- Looking for __func__ -- Looking for __func__ - found -- Looking for __PRETTY_FUNCTION__ -- Looking for __PRETTY_FUNCTION__ - found -- Looking for getentropy -- Looking for getentropy - found -- Performing Test STRERROR_R_CHAR_P -- Performing Test STRERROR_R_CHAR_P - Success -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC - Success -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_UNALIGNED_ACCESS -- Performing Test HAVE_UNALIGNED_ACCESS - Success -- Performing Test HAVE_CXX11_ATOMIC -- Performing Test HAVE_CXX11_ATOMIC - Success -- Found verbs: /usr/lib64/libibverbs.so -- Performing Test HAVE_IBV_EXP -- Performing Test HAVE_IBV_EXP - Failed -- Found rdmacm: /usr/lib64/librdmacm.so -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Found udev: /usr/lib64/libudev.so -- Found blkid: /usr/lib64/libblkid.so -- Found keyutils: /usr/lib64/libkeyutils.so -- Found OpenLdap: /usr/include -- Found FUSE: /usr/lib64/libfuse3.so (found version "3.14") -- Found xfs: /usr/lib64/libhandle.so -- Found aio: /lib64/libaio.so CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDependentOption.cmake:89 (message): Policy CMP0127 is not set: cmake_dependent_option() supports full Condition Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:208 (CMAKE_DEPENDENT_OPTION) This warning is for project developers. Use -Wno-dev to suppress it. -- Found leveldb: /lib64/libleveldb.so -- Found snappy: /usr/lib64/libsnappy.so -- Found LZ4: /usr/lib64/liblz4.so (found suitable version "1.9.4", minimum required is "1.7") -- Found gperftools: /usr/include (found version "2.10") -- Found CURL: /usr/lib64/libcurl.so (found version "8.1.1") -- Looking for curl_multi_wait -- Looking for curl_multi_wait - found -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.9") -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.5.0") CMake Warning at CMakeLists.txt:366 (message): disabling WITH_RADOSGW_BEAST_FRONTEND, which depends on WITH_BOOST_CONTEXT -- Found OATH: /usr/lib64/liboath.so '--build=x86_64-Anolis-linux' '--host=x86_64-Anolis-linux' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--disable-static' '--enable-hsts' '--enable-ipv6' '--enable-symbol-hiding' '--enable-threaded-resolver' '--without-zstd' '--with-gssapi' '--with-nghttp2' '--with-ssl' '--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt' '--enable-dict' '--enable-gopher' '--enable-imap' '--enable-ldap' '--enable-ldaps' '--enable-manual' '--enable-mqtt' '--enable-ntlm' '--enable-ntlm-wb' '--enable-pop3' '--enable-rtsp' '--enable-smb' '--enable-smtp' '--enable-telnet' '--enable-tftp' '--enable-tls-srp' '--with-brotli' '--with-libidn2' '--with-libpsl' '--with-libssh' 'build_alias=x86_64-Anolis-linux' 'host_alias=x86_64-Anolis-linux' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' 'LT_SYS_LIBRARY_PATH=/usr/lib64:' -- libcurl is linked with openssl: explicitly setting locks -- ssl soname: libssl.so.3 -- crypto soname: libcrypto.so.3 -- Found Python3: /usr/bin/python3.10 (found suitable exact version "3.10.12") found components: Interpreter Development -- mgr module disabled for 3.10.12: diskprediction_local -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found LTTngUST: /usr/lib64/liblttng-ust.so;dl (found version "2.3.5") -- Found babeltrace: /usr/include CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:2026 (message): No header defined for python310; skipping header check (note: header-only libraries have no designated component) Call Stack (most recent call first): CMakeLists.txt:590 (find_package) -- Found Boost: /usr/include (found suitable version "1.81.0", minimum required is "1.67") found components: atomic chrono thread system regex random program_options date_time iostreams python310 -- Found StdFilesystem: stdc++fs -- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE -- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE - Success -- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE -- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE - Success -- Performing Test HAS_FORTIFY_SOURCE -- Performing Test HAS_FORTIFY_SOURCE - Success -- Performing Test HAS_STACK_PROTECT -- Performing Test HAS_STACK_PROTECT - Success -- Performing Test HAS_GLIBCXX_ASSERTIONS -- Performing Test HAS_GLIBCXX_ASSERTIONS - Success -- Performing Test HAVE_INTEL_SSE -- Performing Test HAVE_INTEL_SSE - Success -- Performing Test HAVE_INTEL_SSE2 -- Performing Test HAVE_INTEL_SSE2 - Success -- Performing Test HAVE_INTEL_SSE3 -- Performing Test HAVE_INTEL_SSE3 - Success -- Performing Test HAVE_INTEL_SSSE3 -- Performing Test HAVE_INTEL_SSSE3 - Success -- Performing Test HAVE_INTEL_PCLMUL -- Performing Test HAVE_INTEL_PCLMUL - Success -- Performing Test HAVE_INTEL_SSE4_1 -- Performing Test HAVE_INTEL_SSE4_1 - Success -- Performing Test HAVE_INTEL_SSE4_2 -- Performing Test HAVE_INTEL_SSE4_2 - Success -- Found Yasm: good -- capable of assembling x86_64 -- Performing Test HAVE_STDLIB_MAP_SPLICING -- Performing Test HAVE_STDLIB_MAP_SPLICING - Success -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success -- Could not find fmt, will build it -- Version: 5.3.1 -- Build type: RelWithDebInfo -- CXX_STANDARD: 17 -- Performing Test has_std_17_flag -- Performing Test has_std_17_flag - Success -- Performing Test has_std_1z_flag -- Performing Test has_std_1z_flag - Success -- Performing Test SUPPORTS_VARIADIC_TEMPLATES -- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success -- Performing Test SUPPORTS_INITIALIZER_LIST -- Performing Test SUPPORTS_INITIALIZER_LIST - Success -- Performing Test SUPPORTS_ENUM_BASE -- Performing Test SUPPORTS_ENUM_BASE - Success -- Performing Test SUPPORTS_TYPE_TRAITS -- Performing Test SUPPORTS_TYPE_TRAITS - Success -- Performing Test SUPPORTS_USER_DEFINED_LITERALS -- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success -- Looking for open -- Looking for open - found -- Performing Test HAS_VTA -- Performing Test HAS_VTA - Success CMake Deprecation Warning at src/lua/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found Cython: 0.29 -- Performing Test HAS_WARNING_STRINGOP_TRUNCATION -- Performing Test HAS_WARNING_STRINGOP_TRUNCATION - Success -- Performing Test HAS_WARNING_DEPRECATED_COPY -- Performing Test HAS_WARNING_DEPRECATED_COPY - Success -- Performing Test HAS_WARNING_PESSIMIZING_MOVE -- Performing Test HAS_WARNING_PESSIMIZING_MOVE - Success -- Looking for wsyncup in /usr/lib64/libcurses.so -- Looking for wsyncup in /usr/lib64/libcurses.so - found -- Looking for cbreak in /usr/lib64/libncurses.so -- Looking for cbreak in /usr/lib64/libncurses.so - found -- Looking for nodelay in /usr/lib64/libncurses.so -- Looking for nodelay in /usr/lib64/libncurses.so - found -- Found Curses: /usr/lib64/libncurses.so -- Found nl: /usr/lib64/libnl-3.so -- Checking for module 'libcap-ng' -- Found libcap-ng, version 0.8.3 -- Setting civetweb to use OPENSSL >= 1.1 -- Found RabbitMQ: /usr/include -- Checking for one of the modules 'rdkafka' -- Found RDKafka: /usr/include (found suitable version "2.0.2", minimum required is "0.9.2") -- exclude following files under src: *.js;*.css -- Configuring done (10.1s) CMake Warning (dev) at src/rgw/CMakeLists.txt:163 (add_library): Policy CMP0115 is not set: Source file extensions must be explicit. Run "cmake --help-policy CMP0115" for policy details. Use the cmake_policy command to set the policy and suppress this warning. File: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_oidc_provider.cc This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (0.3s) CMake Warning: Manually-specified variables were not used by the project: BOOST_J -- Build files have been written to: /builddir/build/BUILD/dsms-storage-v1.0/build + make -j76 [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/oprequest.h [ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/format.cc.o [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/oprequest.h [ 2%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/pg.h [ 2%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o [ 2%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/osd.h [ 2%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/posix.cc.o [ 2%] Building CXX object src/common/CMakeFiles/common_texttable_obj.dir/TextTable.cc.o [ 2%] Building CXX object src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o [ 2%] Building CXX object src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o [ 2%] Building CXX object src/arch/CMakeFiles/arch.dir/probe.cc.o [ 2%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/armor.c.o [ 2%] Building C object src/crush/CMakeFiles/crush_objs.dir/builder.c.o [ 2%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/module.c.o [ 2%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/addr_parsing.c.o [ 2%] Building C object src/common/CMakeFiles/common_utf8.dir/utf8.c.o [ 2%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthClientHandler.cc.o [ 2%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthMethodList.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o [ 2%] Building C object src/crush/CMakeFiles/crush_objs.dir/crush.c.o [ 2%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/DispatchQueue.cc.o [ 3%] Building CXX object src/erasure-code/CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o [ 3%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthRegistry.cc.o [ 3%] Building C object src/crush/CMakeFiles/crush_objs.dir/mapper.c.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o [ 4%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/safe_io.c.o [ 4%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/Crypto.cc.o [ 4%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Filer.cc.o [ 5%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/AsyncOpTracker.cc.o [ 5%] Building C object src/arch/CMakeFiles/arch.dir/intel.c.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/cauchy.c.o [ 5%] Building CXX object src/common/CMakeFiles/common_prioritycache_obj.dir/PriorityCache.cc.o [ 5%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o [ 5%] Building CXX object src/mgr/CMakeFiles/mgr_cap_obj.dir/MgrCap.cc.o [ 5%] Building C object src/crush/CMakeFiles/crush_objs.dir/hash.c.o [ 5%] Building CXX object src/osdc/CMakeFiles/osdc.dir/ObjectCacher.cc.o [ 5%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/objectstore.h [ 5%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/BackTrace.cc.o [ 5%] Building CXX object src/erasure-code/CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o [ 5%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodePluginJerasure.cc.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_cpu.c.o [ 5%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o [ 5%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/librados.h [ 5%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o [ 5%] Creating directories for 'rocksdb_ext' [ 5%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthSessionHandler.cc.o [ 5%] Building CXX object src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o [ 5%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/bluestore.h [ 5%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_version.dir/version/cls_version.cc.o [ 5%] Building CXX object src/compressor/lz4/CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o [ 5%] Building CXX object src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o [ 5%] Creating directories for 'zstd_ext' [ 5%] Building CXX object src/perfglue/CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o [ 5%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/pg.h [ 5%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/dmclock_util.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o [ 5%] Building CXX object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isal_crypto_accel.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o [ 5%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/osd.h [ 5%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_user.dir/user/cls_user.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_log.dir/log/cls_log.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o [ 5%] Building C object src/common/CMakeFiles/parse_secret_objs.dir/secret.c.o [ 5%] Building C object src/lua/CMakeFiles/liblua.dir/src/lapi.c.o [ 5%] Building C object src/CMakeFiles/civetweb_common_objs.dir/civetweb/src/civetweb.c.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o [ 5%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o [ 5%] No download step for 'rocksdb_ext' [ 5%] No download step for 'zstd_ext' [ 5%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o [ 5%] Built target oprequest-tp [ 5%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Objecter.cc.o [ 5%] Linking CXX static library ../../lib/libarch.a [ 5%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/common/addr_parsing.c: In function 'safe_cat': /builddir/build/BUILD/dsms-storage-v1.0/src/common/addr_parsing.c:45:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 45 | strncpy((*pstr)+pos, str2, len2); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/common/addr_parsing.c:28:14: note: length computed here 28 | int len2 = strlen(str2); | ^~~~~~~~~~~~ [ 5%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Striper.cc.o [ 5%] Built target pg-tp [ 5%] No update step for 'rocksdb_ext' [ 6%] No update step for 'zstd_ext' [ 5%] Built target bluestore-tp [ 6%] Built target objectstore-tp [ 6%] Built target osd-tp [ 6%] Building C object src/tracing/CMakeFiles/osd_tp.dir/oprequest.c.o [ 6%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/common/secret.c: In function 'set_kernel_secret': /builddir/build/BUILD/dsms-storage-v1.0/src/common/secret.c:65:9: warning: '' may be used uninitialized [-Wmaybe-uninitialized] 65 | ret = ceph_unarmor(payload, payload+sizeof(payload), secret, secret+secret_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/secret.c:23: /builddir/build/BUILD/dsms-storage-v1.0/src/common/armor.h:14:5: note: by argument 2 of type 'const char *' to 'ceph_unarmor' declared here 14 | int ceph_unarmor(char *dst, const char *dst_end, | ^~~~~~~~~~~~ [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.c.o [ 6%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/librados.h [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o [ 6%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o [ 7%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o [ 7%] Built target arch [ 7%] Building C object src/tracing/CMakeFiles/os_tp.dir/objectstore.c.o [ 7%] Built target librados-tp [ 7%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o [ 7%] Built target parse_secret_objs [ 8%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushWrapper.cc.o [ 8%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushCompiler.cc.o [ 8%] No patch step for 'zstd_ext' [ 8%] Linking C static library ../../lib/libcommon_utf8.a [ 8%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushTester.cc.o [ 8%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/KeyRing.cc.o [ 9%] No patch step for 'rocksdb_ext' [ 9%] Performing configure step for 'zstd_ext' CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. [ 9%] Performing configure step for 'rocksdb_ext' [ 9%] Built target common_mountcephfs_objs [ 9%] Built target common_utf8 [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/galois.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/civetweb/src/civetweb.c: In function 'mg_get_system_info_impl': /builddir/build/BUILD/dsms-storage-v1.0/src/civetweb/src/civetweb.c:17261:32: warning: '-Werror' is not an option that controls warnings [-Wpragmas] 17261 | #pragma GCC diagnostic ignored "-Werror" | ^~~~~~~~~ [ 9%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/rgw_op.h [ 9%] Building C object src/tracing/CMakeFiles/bluestore_tp.dir/bluestore.c.o [ 9%] Building C object src/tracing/CMakeFiles/rados_tp.dir/librados.c.o [ 9%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/rgw_rados.h -- The C compiler identification is GNU 12.2.1 Compiling targeted ceph module -- The C compiler identification is GNU 12.2.1 [ 9%] Building C object src/tracing/CMakeFiles/rgw_op_tp.dir/rgw_op.c.o [ 9%] Building C object src/tracing/CMakeFiles/rgw_rados_tp.dir/rgw_rados.c.o [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o [ 9%] Building C object src/tracing/CMakeFiles/osd_tp.dir/osd.c.o -- The CXX compiler identification is GNU 12.2.1 [ 9%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushLocation.cc.o -- Detecting C compiler ABI info -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info Creating targeted ceph.pp policy package [ 9%] Built target ceph.pp [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.c.o -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done [ 10%] Linking C shared library ../../lib/librgw_op_tp.so -- Detecting CXX compiler ABI info -- Detecting C compiler ABI info - done [ 10%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info [ 10%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o [ 10%] Built target rgw_op_tp [ 10%] Linking C shared library ../../lib/libbluestore_tp.so [ 10%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/librbd.h [ 10%] Linking C shared library ../../lib/librgw_rados_tp.so [ 10%] Building CXX object src/cls/CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o [ 10%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o [ 10%] Built target rgw_rados_tp [ 10%] Built target bluestore_tp [ 11%] Building CXX object src/cls/CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o [ 11%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o [ 11%] Building C object src/tracing/CMakeFiles/rbd_tp.dir/librbd.c.o -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- ZSTD VERSION: 1.4.0 -- Setting build type to 'Release' as none was specified. -- Detecting CXX compiler ABI info - done -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcode.c.o -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Found snappy: /lib64/libsnappy.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found lz4: /usr/lib64/liblz4.so -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Performing Test HAVE_OMIT_LEAF_FRAME_POINTER [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/lctype.c.o [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ConfUtils.cc.o [ 11%] Building CXX object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isal_crypto_plugin.cc.o [ 12%] Linking CXX static library ../../../lib/libdmclock.a [ 12%] Building C object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_pre.c.o [ 12%] Built target dmclock [ 12%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_multibinary.asm.o -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success -- Performing Test C_FLAG_STD_C99 [ 12%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o [ 12%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/keyexp_128.asm.o [ 12%] Built target common_texttable_obj -- Performing Test HAVE_OMIT_LEAF_FRAME_POINTER - Success -- Performing Test HAVE_SSE42 [ 12%] Building CXX object src/cls/CMakeFiles/cls_log_client.dir/log/cls_log_client.cc.o [ 13%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o -- Performing Test C_FLAG_STD_C99 - Success -- Performing Test C_FLAG_WALL [ 13%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o -- Performing Test C_FLAG_WALL - Success -- Performing Test CXX_FLAG_WALL [ 13%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o -- Performing Test HAVE_SSE42 - Success -- Performing Test HAVE_THREAD_LOCAL [ 13%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldebug.c.o -- Performing Test CXX_FLAG_WALL - Success -- Performing Test C_FLAG_WEXTRA -- Performing Test HAVE_THREAD_LOCAL - Success -- Enabling RTTI -- Performing Test HAVE_FALLOCATE [ 13%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o [ 13%] Linking CXX static library ../../lib/liberasure_code.a -- Performing Test C_FLAG_WEXTRA - Success -- Performing Test CXX_FLAG_WEXTRA [ 14%] Linking CXX shared library ../../lib/libcls_sdk.so [ 14%] Built target erasure_code [ 14%] Building CXX object src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_types.cc.o [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldo.c.o -- Performing Test HAVE_FALLOCATE - Success -- Performing Test HAVE_SYNC_FILE_RANGE_WRITE [ 14%] Built target cls_sdk [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldump.c.o -- Performing Test CXX_FLAG_WEXTRA - Success -- Performing Test C_FLAG_WUNDEF -- Performing Test C_FLAG_WUNDEF - Success -- Performing Test CXX_FLAG_WUNDEF [ 14%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Cycles.cc.o [ 14%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w128.c.o -- Performing Test HAVE_SYNC_FILE_RANGE_WRITE - Success -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP [ 14%] Building C object src/lua/CMakeFiles/liblua.dir/src/lfunc.c.o [ 15%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o -- Performing Test CXX_FLAG_WUNDEF - Success -- Performing Test C_FLAG_WSHADOW [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lgc.c.o -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP - Success -- Looking for malloc_usable_size -- Performing Test C_FLAG_WSHADOW - Success -- Performing Test CXX_FLAG_WSHADOW In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/numops/cls_numops_client.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/numops/cls_numops_client.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/numops/cls_numops_client.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Linking C shared library ../../lib/libos_tp.so [ 16%] Built target os_tp [ 16%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_client.cc.o -- Looking for malloc_usable_size - found -- Looking for sched_getcpu [ 16%] Building CXX object src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_client.cc.o -- Performing Test CXX_FLAG_WSHADOW - Success -- Performing Test C_FLAG_WCAST_ALIGN -- Performing Test C_FLAG_WCAST_ALIGN - Success -- Performing Test CXX_FLAG_WCAST_ALIGN -- Looking for sched_getcpu - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/llex.c.o -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- JNI library is disabled -- Performing Test CXX_FLAG_WCAST_ALIGN - Success -- Performing Test C_FLAG_WCAST_QUAL -- Configuring done (2.4s) [ 16%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.c.o [ 16%] Linking CXX static library ../../lib/libcls_numops_client.a -- Performing Test C_FLAG_WCAST_QUAL - Success -- Performing Test CXX_FLAG_WCAST_QUAL [ 16%] Built target cls_numops_client [ 16%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o [ 16%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o -- Performing Test CXX_FLAG_WCAST_QUAL - Success -- Performing Test C_FLAG_WSTRICT_PROTOTYPES [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmem.c.o [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lobject.c.o [ 16%] Building C object src/tracing/CMakeFiles/osd_tp.dir/pg.c.o -- Performing Test C_FLAG_WSTRICT_PROTOTYPES - Success -- CMAKE_INSTALL_PREFIX: /usr/local -- CMAKE_INSTALL_LIBDIR: lib64 -- ZSTD_LEGACY_SUPPORT not defined! -- ZSTD_MULTITHREAD_SUPPORT is enabled -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Generating done (0.4s) -- Build files have been written to: /builddir/build/BUILD/dsms-storage-v1.0/build/src/rocksdb [ 16%] Performing build step for 'rocksdb_ext' -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (2.9s) -- Generating done (0.0s) [ 16%] Linking C shared library ../../lib/libosd_tp.so -- Build files have been written to: /builddir/build/BUILD/dsms-storage-v1.0/build/src/compressor/zstd/libzstd [ 16%] Performing build step for 'zstd_ext' [ 0%] Building CXX object CMakeFiles/build_version.dir/build_version.cc.o [ 16%] Built target osd_tp [ 0%] Built target build_version [ 16%] Building CXX object src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_types.cc.o [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lopcodes.c.o [ 3%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/common/entropy_common.c.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lparser.c.o [ 6%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/common/fse_decompress.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o [ 10%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/common/threading.c.o [ 13%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/common/pool.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_client.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_client.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o [ 16%] Built target civetweb_common_objs [ 17%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/common/zstd_common.c.o [ 16%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_client.cc.o [ 20%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/common/error_private.c.o [ 24%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/common/xxhash.c.o [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstate.c.o [ 27%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/hist.c.o [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstring.c.o [ 31%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/fse_compress.c.o [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltable.c.o In function 'gf_w8_table_init', inlined from 'gf_w8_init' at /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:2321:36: /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:1203:3: warning: 'scase' may be used uninitialized [-Wmaybe-uninitialized] 1203 | switch (scase) { | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/jerasure/gf-complete/src/gf_w8.c: In function 'gf_w8_init': /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:1140:22: note: 'scase' was declared here 1140 | int a, b, c, prod, scase; | ^~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/otp/cls_otp_client.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/otp/cls_otp_client.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_client.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_client.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_client.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 16%] Linking CXX static library ../../lib/libcpu_profiler.a [ 16%] Built target gf-complete_objs [ 16%] Built target cpu_profiler [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltm.c.o [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lundump.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying [ 16%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/DecayCounter.cc.o [ 16%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_client.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_client.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_client.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 34%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/huf_compress.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.cc:748:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 16%] Building C object src/lua/CMakeFiles/liblua.dir/src/lvm.c.o [ 16%] Linking CXX shared library ../../lib/libcls_numops.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/lz4/LZ4Compressor.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/lz4/CompressionPluginLZ4.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/lz4/CompressionPluginLZ4.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/Tub.h: In instantiation of 'ElementType* Tub::construct(Args&& ...) [with Args = {long unsigned int&}; ElementType = ceph::buffer::v15_2_0::ptr]': /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/lz4/LZ4Compressor.h:120:28: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/common/Tub.h:205:9: warning: placement new constructing an object of type 'ceph::buffer::v15_2_0::ptr' and size '16' in a region of type 'ceph::buffer::v15_2_0::ptr [0]' and size '0' [-Wplacement-new=] 205 | new(object) ElementType(std::forward(args)...); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/Tub.h:274:15: note: 'Tub::object' declared here 274 | ElementType object[0]; | ^~~~~~ [ 17%] Building CXX object src/cls/CMakeFiles/cls_cephfs_client.dir/cephfs/cls_cephfs_client.cc.o [ 17%] Built target cls_numops [ 17%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/log/cls_log_client.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/log/cls_log_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/log/cls_log_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/log/cls_log_client.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/sharded_cache.cc.o [ 17%] Linking CXX shared library ../../lib/libcls_version.so [ 37%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/zstd_compress.c.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/builder.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc: In member function 'virtual bool OpenSSLCryptoAccel::cbc_encrypt(unsigned char*, const unsigned char*, size_t, const unsigned char (&)[16], const unsigned char (&)[32])': /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:27:26: warning: 'int AES_set_encrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 27 | if (AES_set_encrypt_key(const_cast(&key[0]), 256, &aes_key) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:16: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:30:18: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 30 | AES_cbc_encrypt(const_cast(in), out, size, &aes_key, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | const_cast(&iv[0]), AES_ENCRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc: In member function 'virtual bool OpenSSLCryptoAccel::cbc_decrypt(unsigned char*, const unsigned char*, size_t, const unsigned char (&)[16], const unsigned char (&)[32])': /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:43:26: warning: 'int AES_set_decrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 43 | if (AES_set_decrypt_key(const_cast(&key[0]), 256, &aes_key) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:46:18: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | AES_cbc_encrypt(const_cast(in), out, size, &aes_key, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | const_cast(&iv[0]), AES_DECRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 17%] Built target cls_version [ 17%] Building CXX object src/cls/CMakeFiles/cls_lua_client.dir/lua/cls_lua_client.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:22: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 17%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o [ 17%] Linking CXX shared library ../../lib/libcls_timeindex.so [ 17%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o [ 17%] Built target cls_timeindex [ 17%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 17%] Linking CXX shared library ../../lib/libcls_log.so [ 17%] Building C object src/lua/CMakeFiles/liblua.dir/src/lauxlib.c.o [ 17%] Building C object src/lua/CMakeFiles/liblua.dir/src/lzio.c.o [ 17%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbaselib.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'int CryptoAESKeyHandler::init(const ceph::bufferptr&, std::ostringstream&)': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:255:26: warning: 'int AES_set_encrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 255 | AES_set_encrypt_key((const unsigned char*)secret.c_str(), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 256 | AES_KEY_LEN * CHAR_BIT, &enc_key); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:19: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:263:26: warning: 'int AES_set_decrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 263 | AES_set_decrypt_key((const unsigned char*)secret.c_str(), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | AES_KEY_LEN * CHAR_BIT, &dec_key); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'virtual int CryptoAESKeyHandler::encrypt(const ceph::bufferlist&, ceph::bufferlist&, std::string*) const': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:308:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | AES_cbc_encrypt(in_buf, reinterpret_cast(out_tmp.c_str()), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | out_tmp.length(), &enc_key, iv, AES_ENCRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'virtual int CryptoAESKeyHandler::decrypt(const ceph::bufferlist&, ceph::bufferlist&, std::string*) const': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:333:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 333 | AES_cbc_encrypt(in_buf, reinterpret_cast(out_tmp.c_str()), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 334 | in.length(), &dec_key, iv, AES_DECRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'virtual std::size_t CryptoAESKeyHandler::encrypt(const CryptoKeyHandler::in_slice_t&, const CryptoKeyHandler::out_slice_t&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:377:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 377 | AES_cbc_encrypt(in.buf, out.buf, main_encrypt_size, &enc_key, iv.data(), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 378 | AES_ENCRYPT); | ~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:382:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | AES_cbc_encrypt(last_block.data(), out.buf + main_encrypt_size, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 383 | tail_encrypt_size, &enc_key, iv.data(), AES_ENCRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'virtual std::size_t CryptoAESKeyHandler::decrypt(const CryptoKeyHandler::in_slice_t&, const CryptoKeyHandler::out_slice_t&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:405:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 405 | AES_cbc_encrypt(in.buf, out.buf, in.length, &dec_key, iv.data(), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 406 | AES_DECRYPT); | ~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/c.cc.o [ 41%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/zstdmt_compress.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 17%] Built target cls_log [ 44%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/zstd_fast.c.o [ 17%] Building CXX object src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_client.cc.o [ 17%] Building CXX object src/cls/CMakeFiles/cls_cas_client.dir/cas/cls_cas_client.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/journal/cls_journal_client.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/journal/cls_journal_client.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/journal/cls_journal_client.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/zlib/ZlibCompressor.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/zlib/ZlibCompressor.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/user/cls_user_client.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/user/cls_user_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/user/cls_user_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/user/cls_user_client.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/user/cls_user_client.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbitlib.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/hello/cls_hello.cc:38: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/hello/cls_hello.cc:32: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Linking CXX static library ../../lib/libcls_version_client.a [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcorolib.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthClientHandler.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthClientHandler.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 18%] Built target cls_version_client In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrCap.cc:17: /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 18%] Building CXX object src/cls/CMakeFiles/cls_queue_client.dir/queue/cls_queue_client.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd.cc:38: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd.cc:28: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldblib.c.o [ 18%] Linking CXX shared library ../../../lib/libceph_snappy.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 18%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cephfs/cls_cephfs.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cephfs/cls_cephfs.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Linking CXX shared library ../../lib/libcls_user.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.cc:110:25: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 18%] Linking CXX static library ../../lib/libcls_log_client.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Built target ceph_snappy [ 18%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o [ 18%] Built target cls_log_client In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/liolib.c.o [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmathlib.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthRegistry.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthRegistry.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/KeyRing.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 18%] Built target cls_user [ 48%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/zstd_double_fast.c.o [ 18%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc_client.dir/rgw_gc/cls_rgw_gc_client.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/DispatchQueue.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/loslib.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstrlib.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 18%] Linking CXX shared library ../../../lib/libceph_lz4.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lua/cls_lua_client.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lua/cls_lua_client.cc:1: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 51%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/zstd_lazy.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltablib.c.o [ 55%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/zstd_opt.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Built target ceph_lz4 In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_client.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_client.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/str_list.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_client.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] generating mgr/rook/rook_client +++ readlink -f ./generate_rook_ceph_client.sh ++ dirname /builddir/build/BUILD/dsms-storage-v1.0/src/pybind/mgr/rook/generate_rook_ceph_client.sh + script_location=/builddir/build/BUILD/dsms-storage-v1.0/src/pybind/mgr/rook + cd /builddir/build/BUILD/dsms-storage-v1.0/src/pybind/mgr/rook + rm -rf rook_client + cp -r ./rook-client-python/rook_client . In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Linking CXX shared library ../../lib/libcls_lock.so + rm -rf rook_client/cassandra + rm -rf rook_client/edgefs + rm -rf rook_client/tests In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Built target mgr-rook-client [ 18%] Built target rgw_rados-tp [ 18%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Finisher.cc.o [ 18%] Linking CXX shared library ../../lib/libcls_otp.so [ 58%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/compress/zstd_ldm.c.o [ 18%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Formatter.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Built target cls_lock [ 18%] Built target rgw_op-tp [ 18%] Linking CXX static library ../../lib/libcls_lua_client.a [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/linit.c.o [ 18%] Linking CXX shared library ../../lib/libcls_journal.so [ 18%] Built target cls_otp [ 18%] Built target cls_lua_client [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/lutf8lib.c.o [ 18%] Building C object src/lua/CMakeFiles/liblua.dir/src/loadlib_rel.c.o [ 18%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o [ 18%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/HTMLFormatter.cc.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ConfUtils.cc:36: /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 18%] Built target cls_journal [ 18%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Messenger.cc.o [ 18%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/QueueStrategy.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw_gc/cls_rgw_gc.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 18%] Linking CXX static library ../../lib/libheap_profiler.a [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/column_family.cc.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o [ 18%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/RotatingKeyRing.cc.o [ 18%] Built target heap_profiler [ 18%] Linking C static library ../../lib/liblua.a [ 18%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxAuthorizeHandler.cc.o [ 18%] keep civetweb.h up-to-date [ 18%] Built target liblua [ 18%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/HeartbeatMap.cc.o [ 18%] Built target civetweb_h [ 18%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 18%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/ObjectCacheStore.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/global/global_init.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 18%] Built target common_buffer_obj [ 18%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheController.cc.o [ 18%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheServer.cc.o [ 18%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheClient.cc.o [ 19%] Linking CXX shared library ../../../lib/libceph_crypto_openssl.so [ 19%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/keyexp_192.asm.o [ 19%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o [ 19%] Linking CXX static library ../../lib/libcls_otp_client.a [ 19%] Built target ceph_crypto_openssl [ 19%] Built target cls_otp_client [ 19%] Built target librbd-tp [ 20%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o [ 20%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/LogClient.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 20%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/keyexp_256.asm.o [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/keyexp_multibinary.asm.o [ 20%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/journal/Types.cc.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_128_x4_sse.asm.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/hello/cls_hello.cc:37: /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_128_x8_avx.asm.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_192_x4_sse.asm.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_192_x8_avx.asm.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_256_x4_sse.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_256_x8_avx.asm.o [ 21%] Built target compressor_objs [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_128_x4_sb.asm.o [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/LogEntry.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 62%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/decompress/huf_decompress.c.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_128_x8_sb.asm.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_192_x4_sb.asm.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_192_x8_sb.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_256_x4_sb.asm.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_256_x8_sb.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 21%] Linking CXX shared library ../../../lib/libceph_crypto_isal.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cephfs/cls_cephfs.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 21%] Linking C shared library ../../lib/librbd_tp.so /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying [ 21%] Built target ceph_crypto_isal /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 21%] Built target rbd_tp [ 65%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/decompress/zstd_decompress.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 22%] Generating setup.py In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cephfs/cls_cephfs_client.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 22%] Generating ceph_volume /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 22%] Built target ceph_volume-clone [ 23%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ostream_temp.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 23%] Built target jerasure_objs /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 23%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/OutputDataSocket.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 23%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o [ 68%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/decompress/zstd_decompress_block.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 23%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 23%] Built target rados_snap_set_diff_obj /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 24%] Generating setup.py [ 24%] Generating README.rst [ 24%] Generating requirements.txt In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 24%] Building CXX object src/tools/CMakeFiles/ceph-diff-sorted.dir/ceph-diff-sorted.cc.o [ 24%] Generating ceph In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/timeindex/cls_timeindex_client.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/timeindex/cls_timeindex_client.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/timeindex/cls_timeindex_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/timeindex/cls_timeindex_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/timeindex/cls_timeindex_client.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 24%] Built target ceph-clone [ 24%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o [ 24%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/PluginRegistry.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 24%] Generating setup.py [ 24%] Generating cephfs-shell [ 24%] Built target common_prioritycache_obj [ 24%] Linking CXX static library ../../lib/libfmt.a [ 24%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o [ 24%] Built target cephfs-shell-clone [ 72%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/decompress/zstd_ddict.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 24%] Built target fmt [ 24%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/pidfile.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 75%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/dictBuilder/cover.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 24%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Readahead.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/queue/cls_queue_client.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/queue/cls_queue_client.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/queue/cls_queue_types.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/queue/cls_queue_ops.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/queue/cls_queue_client.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3040:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3060:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_client.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_client.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_client.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 79%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/dictBuilder/fastcover.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 24%] Linking CXX executable ../../bin/ceph-diff-sorted In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3040:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3058:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3060:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd.cc:3159:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 24%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/RefCountedObj.cc.o [ 82%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/dictBuilder/divsufsort.c.o [ 24%] Linking CXX static library ../../lib/libcls_lock_client.a [ 24%] Built target ceph-diff-sorted [ 86%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/dictBuilder/zdict.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/deprecated/zbuff_common.c.o [ 24%] Built target cls_lock_client [ 93%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/deprecated/zbuff_compress.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 24%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/image_map/Types.cc.o [ 24%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/instance_watcher/Types.cc.o [ 96%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage-v1.0/src/zstd/lib/deprecated/zbuff_decompress.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 24%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o [ 24%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Connection.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd.cc:3159:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 24%] Linking CXX static library ../../lib/libcls_timeindex_client.a [ 24%] Built target cls_timeindex_client [ 24%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/msg_types.cc.o [ 24%] Linking C shared library ../../lib/librados_tp.so In file included from /usr/include/boost/bind.hpp:30, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/CacheServer.cc:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPoolOp.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.cc:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ [ 24%] Linking CXX static library ../../lib/libcls_refcount_client.a /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 25%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o [ 25%] Built target rados_tp [ 25%] Built target cls_refcount_client [ 25%] Building C object src/erasure-code/shec/CMakeFiles/shec_utils.dir/determinant.c.o [ 25%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ClusterWatcher.cc.o [ 25%] Building CXX object src/librbd/CMakeFiles/rbd_api.dir/librbd.cc.o [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction.cc.o [ 25%] Linking CXX static library ../../lib/libcls_queue_client.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cephfs/cls_cephfs_client.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_iterator.cc.o [ 25%] Built target cls_queue_client [ 25%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/mirroring_watcher/Types.cc.o [ 25%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/trash_watcher/Types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw_gc/cls_rgw_gc_client.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw_gc/cls_rgw_gc_client.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw_gc/cls_rgw_gc_client.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 25%] Linking CXX static library ../../lib/libcls_cas_client.a [ 25%] Built target cls_cas_client [ 26%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/watcher/Types.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 26%] Linking CXX shared library ../../lib/libcls_hello.so [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_types.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 26%] Linking CXX static library ../../lib/libcls_journal_client.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 26%] Built target cls_hello [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/hufftables_c.c.o [ 26%] Built target cls_journal_client [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_base.c.o [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_icf_base.c.o [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/adler32_base.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_client.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/flatten_ll.c.o [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/encode_df.c.o [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_icf_body.c.o [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_inflate.c.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/SloppyCRCMap.cc.o [ 26%] Linking CXX shared library ../../lib/libcls_cephfs.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 26%] Built target cls_cephfs [ 26%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay_types.dir/ActionTypes.cc.o [ 26%] Building CXX object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isal_crypto_accel.cc.o [ 26%] Building CXX object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isal_crypto_plugin.cc.o [ 26%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheSession.cc.o [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/huff_codes.c.o [ 26%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/SimplePolicy.cc.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:10, from /usr/include/boost/asio/time_traits.hpp:23, from /usr/include/boost/asio/detail/timer_queue_ptime.hpp:22, from /usr/include/boost/asio/detail/deadline_timer_service.hpp:31, from /usr/include/boost/asio/basic_deadline_timer.hpp:25, from /usr/include/boost/asio.hpp:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/CacheClient.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/CacheClient.cc:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 26%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/crc/crc_base_aliases.c.o [ 26%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_ops.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/ObjectCacheStore.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/ObjectCacheStore.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/ObjectCacheStore.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 26%] Linking CXX shared library ../../lib/libcls_cas.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/ObjectCacheStore.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_job.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 26%] Built target cls_cas /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 26%] Building CXX object src/key_value_store/CMakeFiles/cls_kvs.dir/cls_kvs.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/RotatingKeyRing.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 26%] Building CXX object src/rgw/CMakeFiles/rgw_schedulers.dir/rgw_dmclock_scheduler_ctx.cc.o [ 26%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/Types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/SloppyCRCMap.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/SloppyCRCMap.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/common/SloppyCRCMap.cc:146:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 26%] Building C object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_pre.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 26%] Built target erasure_code_objs [ 26%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_multibinary.asm.o [ 26%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/keyexp_128.asm.o [ 26%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/keyexp_192.asm.o [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker_fifo.cc.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/SubProcess.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 26%] Linking CXX static library ../../lib/libcls_rgw_gc_client.a [ 26%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/WatchNotifyTypes.cc.o [ 26%] Built target cls_rgw_gc_client [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker_universal.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/Types.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/Types.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/Types.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/convenience.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 27%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/crc/crc_base.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 27%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Thread.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/DispatchStrategy.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/QueueStrategy.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/QueueStrategy.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthClientHandler.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxClientHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxClientHandler.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_filesnapshot.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxAuthorizeHandler.cc:1: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 27%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/crc/crc64_base.c.o [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_body.asm.o [ 27%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Throttle.cc.o [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_finish.asm.o [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_icf_body_h1_gr_bt.asm.o [ 27%] Linking CXX static library ../../lib/libcls_user_client.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_icf_finish.asm.o [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/rfc1951_lookup.asm.o [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/adler32_sse.asm.o [ 27%] Built target cls_user_client [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/adler32_avx2_4.asm.o [ 27%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Timer.cc.o [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_multibinary.asm.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_update_histogram_01.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_update_histogram_04.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_decode_block_stateless_01.asm.o [ 27%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/TracepointProvider.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 27%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_decode_block_stateless_04.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxSessionHandler.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxSessionHandler.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_inflate_multibinary.asm.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/encode_df_04.asm.o [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/encode_df_06.asm.o [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/proc_heap.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_deflate_hash.asm.o [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_gen_icf_map_lh1_06.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_gen_icf_map_lh1_04.asm.o [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_set_long_icf_fg_04.asm.o [ 28%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_set_long_icf_fg_06.asm.o [ 28%] Linking CXX shared library ../../../lib/libceph_zlib.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.cc:628:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 28%] Built target ceph_zlib [ 29%] Generating ceph-syn.8, ceph-conf.8, ceph.8, ceph-authtool.8, ceph-kvstore-tool.8, rados.8, ceph-post-file.8, ceph-dencoder.8, ceph-deploy.8, crushtool.8, ceph-run.8, mount.ceph.8, ceph-create-keys.8, ceph-clsinfo.8, ceph-volume.8, ceph-volume-systemd.8, ceph-osd.8, osdmaptool.8, ceph-bluestore-tool.8, ceph-mon.8, monmaptool.8, ceph-mds.8, librados-config.8, cephadm.8, ceph-fuse.8, rbd-fuse.8, radosgw.8, radosgw-admin.8, rgw-orphan-list.8, ceph-diff-sorted.8, ceph-rbdnamer.8, rbd-mirror.8, rbd-replay-many.8, rbd-replay-prep.8, rbd-replay.8, rbdmap.8, rbd.8, rbd-nbd.8, ceph-immutable-object-cache.8 [ 29%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/leader_watcher/Types.cc.o [ 29%] Building CXX object src/rgw/CMakeFiles/rgw_schedulers.dir/rgw_dmclock_sync_scheduler.cc.o [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_write.cc.o [ 29%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/TrackedOp.cc.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/CacheController.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/CacheController.cc:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/ObjectCacheStore.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/CacheController.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/none/AuthNoneAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/none/AuthNoneAuthorizeHandler.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying Running Sphinx v6.1.3 In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/ObjectCacheStore.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MLog.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogClient.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogClient.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 30%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/keyexp_256.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 30%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/WorkQueue.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying building [mo]: targets for 0 po files that are out of date writing output... building [man]: all manpages updating environment: [new config] 42 added, 0 changed, 0 removed reading sources... [ 2%] 8/ceph /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 30%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/address_helper.cc.o [ 30%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/admin_socket.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ClusterWatcher.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ClusterWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ClusterWatcher.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying reading sources... [ 4%] 8/ceph-authtool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ reading sources... [ 7%] 8/ceph-bluestore-tool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying reading sources... [ 9%] 8/ceph-clsinfo reading sources... [ 11%] 8/ceph-conf /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/admin_socket_client.cc.o reading sources... [ 14%] 8/ceph-create-keys reading sources... [ 16%] 8/ceph-debugpack reading sources... [ 19%] 8/ceph-dencoder reading sources... [ 21%] 8/ceph-deploy [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/assert.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ reading sources... [ 23%] 8/ceph-diff-sorted reading sources... [ 26%] 8/ceph-fuse [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/keyexp_multibinary.asm.o reading sources... [ 28%] 8/ceph-immutable-object-cache [ 31%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o reading sources... [ 30%] 8/ceph-kvstore-tool reading sources... [ 33%] 8/ceph-mds reading sources... [ 35%] 8/ceph-mon reading sources... [ 38%] 8/ceph-osd reading sources... [ 40%] 8/ceph-post-file reading sources... [ 42%] 8/ceph-rbdnamer reading sources... [ 45%] 8/ceph-run reading sources... [ 47%] 8/ceph-syn reading sources... [ 50%] 8/ceph-volume reading sources... [ 52%] 8/ceph-volume-systemd reading sources... [ 54%] 8/cephadm reading sources... [ 57%] 8/crushtool reading sources... [ 59%] 8/librados-config reading sources... [ 61%] 8/monmaptool reading sources... [ 64%] 8/mount.ceph reading sources... [ 66%] 8/mount.fuse.ceph reading sources... [ 69%] 8/osdmaptool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/key_value_store/key_value_structure.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/key_value_store/kv_flat_btree_async.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/key_value_store/kvs_arg_types.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/key_value_store/cls_kvs.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/key_value_store/cls_kvs.cc:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 31%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Protocol.cc.o reading sources... [ 71%] 8/rados In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying reading sources... [ 73%] 8/radosgw reading sources... [ 76%] 8/radosgw-admin [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/bit_str.cc.o [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_compaction_flush.cc.o reading sources... [ 78%] 8/rbd [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_files.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc: In member function 'virtual bool CephXAuthorizer::add_challenge(ceph::common::CephContext*, const ceph::bufferlist&)': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:582:57: warning: 'ch.CephXAuthorizeChallenge::server_challenge' may be used uninitialized [-Wmaybe-uninitialized] 582 | msg.server_challenge_plus_one = ch.server_challenge + 1; | ~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:574:29: note: 'ch.CephXAuthorizeChallenge::server_challenge' was declared here 574 | CephXAuthorizeChallenge ch; | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_open.cc.o [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_debug.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/key_value_store/kv_flat_btree_async.h:181:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_experimental.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/Utils.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirroring_watcher/Types.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ reading sources... [ 80%] 8/rbd-fuse In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirroring_watcher/Types.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/SimplePolicy.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/SimplePolicy.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/key_value_store/kv_flat_btree_async.h:181:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying reading sources... [ 83%] 8/rbd-ggate reading sources... [ 85%] 8/rbd-mirror reading sources... [ 88%] 8/rbd-nbd [ 31%] Built target jerasure_utils [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_readonly.cc.o reading sources... [ 90%] 8/rbd-replay [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_secondary.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ reading sources... [ 92%] 8/rbd-replay-many reading sources... [ 95%] 8/rbd-replay-prep reading sources... [ 97%] 8/rbdmap In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying reading sources... [100%] 8/rgw-orphan-list looking for now-outdated files... none found pickling environment... [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_info_dumper.cc.o [ 31%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV1.cc.o done checking consistency... done writing... ceph-authtool.8 { } /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying ceph-bluestore-tool.8 { } /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying ceph-clsinfo.8 { } ceph-conf.8 { } In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ ceph-create-keys.8 { } ceph-debugpack.8 { } /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying ceph-dencoder.8 { } ceph-deploy.8 { In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/Utils.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash_watcher/Types.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash_watcher/Types.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 31%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV2.cc.o } [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_iter.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying ceph-diff-sorted.8 { } ceph-fuse.8 { } ceph-immutable-object-cache.8 { } [ 31%] Linking CXX shared library ../../lib/libcls_queue.so ceph-kvstore-tool.8 { } ceph-mds.8 { } ceph-mon.8 { } ceph-osd.8 { } ceph-post-file.8 { } ceph-rbdnamer.8 { } ceph-run.8 { } ceph-syn.8 { [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/dbformat.cc.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/blkdev.cc.o } In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying ceph-volume-systemd.8 { } ceph-volume.8 { } ceph.8 { } [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/bloom_filter.cc.o [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/error_handler.cc.o cephadm.8 { [ 31%] Built target cls_queue } [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/event_helpers.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/librbd.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/librbd.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ crushtool.8 { In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ } [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/experimental.cc.o librados-config.8 { } monmaptool.8 { } mount.ceph.8 { } mount.fuse.ceph.8 { } osdmaptool.8 { } rados.8 { } radosgw-admin.8 { } radosgw.8 { } rbd-fuse.8 { } rbd-ggate.8 { } rbd-mirror.8 { } rbd-nbd.8 { } rbd-replay-many.8 { } rbd-replay-prep.8 { } rbd-replay.8 { } rbd.8 { [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_argparse.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/librbd.cc:42: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_context.cc.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/CacheSession.cc:4: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying } [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_crypto.cc.o rbdmap.8 { } rgw-orphan-list.8 { } done build succeeded. The manual pages are in .. [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_frag.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc: In function 'bool cephx_verify_authorizer(ceph::common::CephContext*, const KeyStore&, ceph::buffer::v15_2_0::list::const_iterator&, size_t, CephXServiceTicketInfo&, std::unique_ptr*, std::string*, ceph::bufferlist*)': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:516:41: warning: 'auth_msg.CephXAuthorize::nonce' may be used uninitialized [-Wmaybe-uninitialized] 516 | reply.nonce_plus_one = auth_msg.nonce + 1; | ~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:479:18: note: 'auth_msg.CephXAuthorize::nonce' was declared here 479 | CephXAuthorize auth_msg; | ^~~~~~~~ [ 31%] Linking CXX shared library ../../lib/libcls_rgw_gc.so [ 31%] Built target libglobal_objs [ 31%] Building C object src/CMakeFiles/common-objs.dir/ceph_ver.c.o [ 31%] Building CXX object src/CMakeFiles/common-objs.dir/global/global_context.cc.o [ 31%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Event.cc.o [ 31%] Built target shec_utils [ 31%] Building CXX object src/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_reader.cpp.o [ 31%] Built target cls_rgw_gc [ 31%] Building CXX object src/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_writer.cpp.o [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/external_sst_file_ingestion_job.cc.o [ 31%] Building C object src/CMakeFiles/common-objs.dir/xxHash/xxhash.c.o [ 31%] Building CXX object src/CMakeFiles/common-objs.dir/log/Log.cc.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_fs.cc.o [ 31%] Building CXX object src/common/CMakeFiles/crc32.dir/crc32c.cc.o [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/file_indexer.cc.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_hash.cc.o [ 31%] Building C object src/common/CMakeFiles/crc32.dir/crc32c_intel_baseline.c.o [ 31%] Building C object src/common/CMakeFiles/crc32.dir/sctp_crc32.c.o [ 31%] manpages building [ 31%] Built target manpages [ 31%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/IoCtxImpl.cc.o [ 31%] Building C object src/common/CMakeFiles/crc32.dir/crc32c_intel_fast.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/db/db_impl_compaction_flush.cc: In member function 'rocksdb::Status rocksdb::DBImpl::CompactFilesImpl(const rocksdb::CompactionOptions&, rocksdb::ColumnFamilyData*, rocksdb::Version*, const std::vector >&, std::vector >*, int, int, rocksdb::JobContext*, rocksdb::LogBuffer*, rocksdb::CompactionJobInfo*)': /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/db/db_impl_compaction_flush.cc:1018:21: warning: loop variable 'newf' creates a copy from type 'const std::pair' [-Wrange-loop-construct] 1018 | for (const auto newf : c->edit()->GetNewFiles()) { | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/db/db_impl_compaction_flush.cc:1018:21: note: use reference type to prevent copying 1018 | for (const auto newf : c->edit()->GetNewFiles()) { | ^~~~ | & [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/flush_job.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/db/db_impl_compaction_flush.cc: In member function 'void rocksdb::DBImpl::NotifyOnCompactionBegin(rocksdb::ColumnFamilyData*, rocksdb::Compaction*, const rocksdb::Status&, const rocksdb::CompactionJobStats&, int)': /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/db/db_impl_compaction_flush.cc:1110:21: warning: loop variable 'newf' creates a copy from type 'const std::pair' [-Wrange-loop-construct] 1110 | for (const auto newf : c->edit()->GetNewFiles()) { | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/db/db_impl_compaction_flush.cc:1110:21: note: use reference type to prevent copying 1110 | for (const auto newf : c->edit()->GetNewFiles()) { | ^~~~ | & [ 31%] Building ASM object src/common/CMakeFiles/crc32.dir/crc32c_intel_fast_asm.s.o [ 31%] Building ASM object src/common/CMakeFiles/crc32.dir/crc32c_intel_fast_zero_asm.s.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 31%] Linking CXX static library ../../lib/libcrc32.a [ 31%] Built target crc32 [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/flush_scheduler.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/Utils.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/WatchNotifyTypes.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/WatchNotifyTypes.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 31%] Linking CXX static library ../../lib/libcls_cephfs_client.a [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_128_x4_sse.asm.o [ 31%] Built target common-auth-objs [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_128_x8_avx.asm.o [ 31%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/RadosXattrIter.cc.o [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_192_x4_sse.asm.o [ 31%] Built target cls_cephfs_client [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_192_x8_avx.asm.o [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_256_x4_sse.asm.o [ 31%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base.c.o [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_256_x8_avx.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_128_x4_sb.asm.o [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_128_x8_sb.asm.o [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_192_x4_sb.asm.o [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_192_x8_sb.asm.o [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_256_x4_sb.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 31%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_256_x8_sb.asm.o [ 31%] Built target isal_crypto_plugin_objs [ 31%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_dot_prod_sse.asm.o [ 31%] Linking CXX shared library ../../../lib/libec_jerasure_generic.so [ 31%] Linking CXX shared library ../../../lib/libec_jerasure_sse4.so [ 31%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_dot_prod_sse.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 31%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_dot_prod_sse.asm.o [ 31%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_dot_prod_sse.asm.o [ 31%] Linking CXX static library ../../../lib/librbd_mirror_types.a [ 31%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_dot_prod_sse.asm.o [ 31%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_dot_prod_sse.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 31%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_mad_avx2.asm.o [ 31%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_mad_avx2.asm.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_json.cc.o [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_mad_avx2.asm.o [ 32%] Built target rbd_mirror_types [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_mad_avx2.asm.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 32%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_strings.cc.o [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_mad_avx2.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mad_avx2.asm.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 32%] Built target ec_jerasure_sse4 [ 32%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_highlevel_func.c.o [ 32%] Linking CXX shared library ../../../lib/libec_jerasure_sse3.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 32%] Built target ec_jerasure_generic /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 32%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_releases.cc.o [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_mad_avx.asm.o [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_mad_avx.asm.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/json_spirit/json_spirit_value.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/json_spirit/json_spirit_reader.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/json_spirit/json_spirit_reader.cpp:6: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_mad_avx.asm.o [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_mad_avx.asm.o [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_mad_avx.asm.o [ 32%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mad_avx.asm.o [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_time.cc.o [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/cmdparse.cc.o [ 33%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_multibinary.asm.o [ 33%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_mad_sse.asm.o [ 33%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_mad_sse.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_mad_sse.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_mad_sse.asm.o [ 34%] Built target ec_jerasure_sse3 [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_mad_sse.asm.o [ 34%] Linking CXX shared library ../../../lib/libec_shec_sse4.so [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mad_sse.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_dot_prod_avx2.asm.o [ 34%] Linking CXX shared library ../../../lib/libec_shec_generic.so [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_dot_prod_avx2.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_dot_prod_avx2.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_dot_prod_avx2.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_dot_prod_avx2.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_dot_prod_avx2.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mul_avx.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_dot_prod_avx.asm.o [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/forward_iterator.cc.o [ 34%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/code_environment.cc.o [ 34%] Linking CXX shared library ../../../lib/libec_shec_sse3.so [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_dot_prod_avx.asm.o [ 34%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_dot_prod_avx.asm.o [ 34%] Linking CXX shared library ../../lib/libcls_kvs.so [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_dot_prod_avx.asm.o [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_dot_prod_avx.asm.o [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_dot_prod_avx.asm.o [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/internal_stats.cc.o [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mul_sse.asm.o [ 35%] Built target ec_shec_sse4 [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_dot_prod_avx512.asm.o [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/common_init.cc.o [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_mad_avx512.asm.o [ 35%] Built target crypto_plugins [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_dot_prod_avx512.asm.o [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/compat.cc.o [ 35%] Built target ec_shec_generic [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_mad_avx512.asm.o [ 35%] Built target cls_kvs [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_dot_prod_avx512.asm.o [ 35%] Building CXX object src/CMakeFiles/krbd.dir/krbd.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 35%] Building CXX object src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_client.cc.o [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_mad_avx512.asm.o [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mad_avx512.asm.o [ 35%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_dot_prod_avx512.asm.o [ 35%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodeIsa.cc.o [ 35%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodeIsaTableCache.cc.o [ 35%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodePluginIsa.cc.o [ 35%] Generate rgw_iam_policy_keywords.frag.cc [ 35%] Built target ec_shec_sse3 [ 35%] Linking CXX static library ../../lib/librbd_replay_types.a [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/condition_variable_debug.cc.o [ 35%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/RadosClient.cc.o [ 35%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_finisher.cc.o [ 35%] Built target rbd_replay_types [ 35%] Building CXX object src/journal/CMakeFiles/journal.dir/Entry.cc.o [ 35%] Building CXX object src/journal/CMakeFiles/journal.dir/Future.cc.o [ 35%] Building CXX object src/journal/CMakeFiles/journal.dir/FutureImpl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonCommand.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/admin_socket.cc:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/admin_socket.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/admin_socket.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 35%] Building CXX object src/journal/CMakeFiles/journal.dir/Journaler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/in_memory_stats_history.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/config.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 35%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/librados_util.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/logs_with_prep_tracker.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/histogram.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/config_values.cc.o [100%] Linking C static library libzstd.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/dns_resolve.cc.o [100%] Built target libzstd_static [ 35%] Performing install step for 'zstd_ext' [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/dout.cc.o [ 35%] Completed 'zstd_ext' In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.cc:1: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 35%] Built target zstd_ext [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/log_reader.cc.o [ 35%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bi_rados.cc.o [ 35%] Linking CXX shared library ../../../lib/libec_jerasure.so [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/entity_name.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/environment.cc.o [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/errno.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 35%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bilog_rados.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/log_writer.cc.o [ 35%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/escape.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 35%] Built target ec_jerasure [ 35%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageDeleter.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 36%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/xor_op.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 36%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/librados_tp.cc.o [ 36%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageMap.cc.o [ 36%] Linking CXX static library ../../lib/libcls_rgw_client.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 36%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageReplayer.cc.o [ 36%] Linking CXX shared library ../../../lib/libec_shec.so [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/fs_types.cc.o [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/fd.cc.o [ 37%] Building CXX object src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV1.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV1.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV1.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 37%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageSync.cc.o [ 37%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/InstanceReplayer.cc.o [ 37%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/InstanceWatcher.cc.o [ 37%] Built target ec_shec [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hex.cc.o [ 37%] Building CXX object src/compressor/zstd/CMakeFiles/ceph_zstd.dir/CompressionPluginZstd.cc.o [ 37%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Instances.cc.o [ 37%] Built target cls_rgw_client [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/histogram.cc.o [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hobject.cc.o [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hostname.cc.o [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ipaddr.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV2.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV2.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV2.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/iso_8601.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/malloc_stats.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/memtable.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/memtable_list.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV2.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/merge_helper.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/merge_operator.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.cc:33: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_client.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_client.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_client.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/admin_socket.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 37%] Building C object src/common/CMakeFiles/common-common-objs.dir/linux_version.c.o [ 37%] Linking CXX static library ../../lib/librgw_schedulers.a [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/range_del_aggregator.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 37%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/lockdep.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 37%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventSelect.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/range_tombstone_fragmenter.cc.o [ 37%] Built target rgw_schedulers [ 37%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o [ 37%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalMetadata.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_client.cc:1455:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc: In constructor 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:46: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 155 | snprintf(lock_name, sizeof(lock_name), "%s:%" PRIu32, "OpTracker::ShardedLock", i); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:46: note: directive argument in the range [0, 4294967294] In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3960, from /usr/include/c++/12/string:53, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.h:18: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:15: /usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 25 and 34 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_client.cc:852:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_client.cc:1455:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 37%] Linking CXX static library ../../../lib/libceph_immutable_object_cache_lib.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 37%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalPlayer.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/repair.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/snapshot_impl.cc.o [ 38%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalRecorder.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 38%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonCap.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/table_cache.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 38%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/mempool.cc.o [ 38%] Building C object src/common/CMakeFiles/common-common-objs.dir/mime.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 38%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/mutex_debug.cc.o [ 38%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/numa.cc.o [ 38%] Built target ceph_immutable_object_cache_lib /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/options.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/table_properties_collector.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageDeleter.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/transaction_log_impl.cc.o [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_builder.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/page.cc.o [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_edit.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 39%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Stack.cc.o [ 39%] Built target crush_objs [ 39%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/ErasureCodePluginClay.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_finisher.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_finisher.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 39%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/ErasureCodeClay.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bi_rados.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bi_rados.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Utils.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/FutureImpl.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/RefCountedObj.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/FutureImpl.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/FutureImpl.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MLog.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/RadosClient.cc:35: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/RadosClient.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_set.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.cc:748:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 39%] Linking CXX static library ../../lib/librbd_types.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 39%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sobj.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 39%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/crypto_onwire.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bilog_rados.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bilog_rados.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 39%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/frames_v2.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_counters.cc.o [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_counters_collection.cc.o [ 39%] Built target rbd_types [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_histogram.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Journaler.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Journaler.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/complex:44, from /usr/include/boost/type_traits/is_complex.hpp:12, from /usr/include/boost/type_traits.hpp:98, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/krbd.cc:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectPlayer.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalPlayer.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Journaler.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonElection.h:101:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/pick_address.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_util.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_util.cc:1: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/wal_manager.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_batch.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/rabin.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Finisher.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_finisher.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/random_string.cc.o [ 39%] Building C object src/common/CMakeFiles/common-common-objs.dir/reverse.c.o [ 39%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalTrimmer.cc.o [ 39%] Building CXX object src/journal/CMakeFiles/journal.dir/ObjectPlayer.cc.o [ 39%] Building CXX object src/journal/CMakeFiles/journal.dir/ObjectRecorder.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/InstanceWatcher.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/InstanceWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/InstanceWatcher.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ [ 39%] Building CXX object src/journal/CMakeFiles/journal.dir/Utils.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageMap.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageMap.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_batch_base.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_controller.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/run_cmd.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 39%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 39%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonMap.cc.o [ 39%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageDeleter.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageSync.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageSync.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 39%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventEpoll.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonElection.h:101:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 39%] Linking CXX shared library ../../lib/libcls_rbd.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Instances.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Instances.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 39%] Linking CXX shared library ../../../lib/libceph_zstd.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/InstanceReplayer.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/InstanceReplayer.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bucket.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bucket.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageReplayer.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageReplayer.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 39%] Built target ceph_zstd [ 39%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/Infiniband.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 39%] Built target cls_rbd [ 27%] Building CXX object CMakeFiles/rocksdb.dir/db/write_thread.cc.o [ 39%] Linking CXX shared library ../../../lib/libec_isa.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageReplayer.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ImageReplayer.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 39%] Built target ec_isa /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_chroot.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 39%] Built target compressor_plugins /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/scrub_types.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_encryption.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying [ 39%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/shared_mutex_debug.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 40%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAConnectedSocketImpl.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalMetadata.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalMetadata.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalMetadata.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_hdfs.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying [ 40%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/signal.cc.o [ 40%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/snap_types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 40%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonSub.cc.o [ 40%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/__/__/common/str_map.cc.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonCap.cc:17: /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/str_list.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalTrimmer.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalTrimmer.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 41%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/str_map.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalRecorder.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalRecorder.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalRecorder.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/frames_v2.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/frames_v2.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalPlayer.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalPlayer.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/PriorityCache.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalPlayer.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/PosixStack.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/PosixStack.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 41%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/strtol.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectPlayer.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/JournalPlayer.h:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 41%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/types.cc.o [ 41%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/url_escape.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 41%] Building C object src/common/CMakeFiles/common-common-objs.dir/utf8.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 41%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/util.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:46: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1698:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1697:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:526:14, inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1708:26, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1703:36, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 41%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/version.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/mock_env.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bucket_sobj.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bucket_sobj.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 27%] Building CXX object CMakeFiles/rocksdb.dir/memtable/alloc_tracker.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/clay/ErasureCodeClay.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/clay/ErasureCodeClay.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.cc:1004:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 27%] Building CXX object CMakeFiles/rocksdb.dir/memtable/hash_linklist_rep.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:895:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::bound_encode(const std::pair<_T1, _T2>&, size_t&, uint64_t) [with A = unsigned int; B = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:967:17: required from 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/hash_skiplist_rep.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/skiplistrep.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 41%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAIWARPConnectedSocketImpl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/vectorrep.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 41%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAServerSocketImpl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 41%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAIWARPServerSocketImpl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/write_buffer_manager.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/histogram.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/crypto_onwire.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 41%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAStack.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectPlayer.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectPlayer.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectPlayer.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectPlayer.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 41%] Linking CXX static library ../../lib/libcls_rbd_client.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/crypto_onwire.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/crypto_onwire.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/histogram_windowing.cc.o [ 41%] Built target cls_rbd_client [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/instrumented_mutex.cc.o [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/iostats_context.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/perf_context.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.cc:1004:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/perf_level.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/RadosClient.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_impl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 41%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/LeaderWatcher.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 41%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Mirror.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_updater.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_util.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectRecorder.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectRecorder.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ [ 42%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/MirrorStatusUpdater.cc.o In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectRecorder.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sync_sobj.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_cls.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_config_key_rados.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 42%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/MgrClient.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Utils.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Utils.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Utils.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 42%] Building CXX object src/CMakeFiles/common-objs.dir/mon/PGMap.cc.o [ 43%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/ServiceMap.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/clay/ErasureCodeClay.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_util_debug.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/journal/ObjectPlayer.cc:270:30: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/MirrorStatusWatcher.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/cf_options.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/NamespaceReplayer.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/db_options.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_helper.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_parser.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/scrub_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/scrub_types.cc:1: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:22: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MAuth.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonClient.cc:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonClient.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_sanity_check.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 37%] Building CXX object CMakeFiles/rocksdb.dir/port/stack_trace.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 37%] Building CXX object CMakeFiles/rocksdb.dir/table/adaptive_table_factory.cc.o [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/PoolMetaCache.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/PoolReplayer.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 43%] Building CXX object src/CMakeFiles/common-objs.dir/osd/ECMsgTypes.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/PoolWatcher.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/RemotePoolPoller.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_filter_block.cc.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_builder.cc.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_factory.cc.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_reader.cc.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_builder.cc.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_fetcher.cc.o [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/block_prefix_index.cc.o [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ServiceDaemon.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_datalog_rados.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/bloom_block.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_builder.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_factory.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/options/options_parser.cc: In member function 'rocksdb::Status rocksdb::RocksDBOptionsParser::EndSection(rocksdb::OptionSection, const std::string&, const std::string&, const std::unordered_map, std::__cxx11::basic_string >&, bool)': /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/options/options_parser.cc:412:21: warning: loop variable 'pair' creates a copy from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 412 | for (const auto pair : opt_map) { | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rocksdb/options/options_parser.cc:412:21: note: use reference type to prevent copying 412 | for (const auto pair : opt_map) { | ^~~~ | & In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonMap.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonMap.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_reader.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/MirrorStatusUpdater.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/MirrorStatusUpdater.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/data_block_hash_index.cc.o [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/data_block_footer.cc.o [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/flush_block_policy.cc.o [ 43%] Building CXX object src/CMakeFiles/common-objs.dir/osd/HitSet.cc.o [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Threads.cc.o [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Throttler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Types.cc.o [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/SnapshotPurgeRequest.cc.o [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashMoveRequest.cc.o [ 43%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMap.cc.o [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/format.cc.o [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/full_filter_block.cc.o [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/get_context.cc.o [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/index_builder.cc.o [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/iterator.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Types.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Types.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 43%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMapMapping.cc.o [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/merging_iterator.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/RemotePoolPoller.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/RemotePoolPoller.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 43%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/meta_blocks.cc.o [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/partitioned_filter_block.cc.o [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/persistent_cache_helper.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 44%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashWatcher.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 44%] Linking CXX static library ../lib/libkrbd.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ServiceMap.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ServiceMap.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ServiceMap.cc:20:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_builder.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ServiceMap.cc:20:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 44%] Built target krbd [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_factory.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_config_key_rados.cc:2: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 44%] Linking CXX static library ../../lib/libjournal.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bucket_sync_sobj.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_bucket_sync_sobj.cc:1: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ServiceDaemon.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ServiceDaemon.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/ServiceDaemon.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_index.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 44%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_types.cc.o [ 44%] Building CXX object src/CMakeFiles/common-objs.dir/osd/PGPeeringEvent.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_cls.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_cls.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/LeaderWatcher.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/LeaderWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/LeaderWatcher.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 44%] Built target journal [ 44%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OpRequest.cc.o [ 44%] Building CXX object src/CMakeFiles/common-objs.dir/osd/ClassHandler.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 44%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_op_util.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonClient.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 44%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Striper.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 44%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Objecter.cc.o [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_key_coding.cc.o [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_reader.cc.o [ 44%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_mdlog.cc.o [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/sst_file_reader.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolMetaCache.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolMetaCache.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolMetaCache.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/MirrorStatusWatcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/MirrorStatusWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Mirror.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/boost/optional/bad_optional_access.hpp:15, from /usr/include/boost/optional/optional.hpp:34, from /usr/include/boost/range/detail/default_constructible_unary_fn.hpp:13, from /usr/include/boost/range/adaptor/transformed.hpp:15, from /usr/include/boost/range/adaptor/map.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Mirror.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECMsgTypes.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECMsgTypes.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:22: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/sst_file_writer.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/MirrorStatusUpdater.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/NamespaceReplayer.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/NamespaceReplayer.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/NamespaceReplayer.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta.cc.o [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be.cc.o [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_otp.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_sobj.cc.o [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/table_properties.cc.o [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/two_level_iterator.cc.o [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/db_bench_tool.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_datalog_rados.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_datalog_rados.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_notify.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashWatcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolWatcher.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolWatcher.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_otp.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/dump/db_dump_tool.cc.o [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/ldb_cmd.cc.o [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/ldb_tool.cc.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:8: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 45%] Building CXX object src/CMakeFiles/common-objs.dir/librbd/Features.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/tools/sst_dump_tool.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/tools/trace_analyzer_tool.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/arena.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolReplayer.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolReplayer.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolReplayer.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolWatcher.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/RemotePoolPoller.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/PoolWatcher.h:12: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/auto_roll_logger.cc.o [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/bloom.cc.o [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/coding.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrClient.cc:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrClient.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrClient.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:21: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/compaction_job_stats_impl.cc.o [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_quota.cc.o [ 45%] Linking CXX static library ../../lib/librbd_api.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMapMapping.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMapMapping.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMapMapping.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/comparator.cc.o [ 45%] Building CXX object src/CMakeFiles/common-objs.dir/mds/MDSMap.cc.o [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sync_modules.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMap.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Threads.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Threads.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Threads.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/compression_context_cache.cc.o [ 46%] Built target rbd_api [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/concurrent_arena.cc.o [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/concurrent_task_limiter_impl.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/crc32c.cc.o [ 46%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Throttler.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Throttler.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Throttler.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Linking CXX shared library ../../../lib/libec_clay.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/delete_scheduler.cc.o [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/LoadRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/SnapshotPurgeRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/Policy.cc.o [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/SimplePolicy.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/otp/cls_otp_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_cls.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/dynamic_bloom.cc.o [ 46%] Built target ec_clay [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/event_logger.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Building CXX object src/CMakeFiles/common-objs.dir/mds/inode_backtrace.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/file_reader_writer.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashMoveRequest.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/file_util.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Building CXX object src/CMakeFiles/common-objs.dir/mds/mdstypes.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/filename.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/filter_policy.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 46%] Building CXX object src/CMakeFiles/common-objs.dir/mds/flock.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/StateTransition.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/hash.cc.o [ 46%] Built target mgr_cap_obj [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_rados.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/jemalloc_nodump_allocator.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/log_buffer.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/TrashWatcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashWatcher.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/murmurhash.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/random.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_deleter/TrashRemoveRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 46%] Linking CXX static library ../../lib/libjson_spirit.a [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj.cc.o [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/UpdateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/rate_limiter.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Built target json_spirit /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_cache.cc.o [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_core.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/slice.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_tier_rados.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/sst_file_manager_impl.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_mdlog.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_mdlog.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_user.cc.o [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/BootstrapRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGPeeringEvent.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGPeeringEvent.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGPeeringEvent.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:38: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/status.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be_sobj.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be_sobj.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be_otp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be_otp.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/string_util.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_otp.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_otp.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/CloseImageRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrClient.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/sync_point.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OpRequest.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/sync_point_impl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/CreateImageRequest.cc.o [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/GetMirrorImageIdRequest.cc.o [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/OpenImageRequest.cc.o [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/testutil.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 46%] Building CXX object src/erasure-code/lrc/CMakeFiles/ec_lrc.dir/ErasureCodePluginLrc.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Building CXX object src/erasure-code/lrc/CMakeFiles/ec_lrc.dir/ErasureCodeLrc.cc.o [ 46%] Building CXX object src/cls/CMakeFiles/cls_refcount.dir/refcount/cls_refcount.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 46%] Building CXX object src/cls/CMakeFiles/cls_refcount.dir/refcount/cls_refcount_ops.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/thread_local.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_notify.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 46%] Linking CXX static library ../../lib/liblibrados_impl.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/Types.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/StateTransition.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/StateTransition.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/StateTransition.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/threadpool_imp.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_quota.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_quota.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 46%] Built target librados_impl In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sync_modules.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sync_modules.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 46%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw.cc.o [ 46%] Building CXX object src/cls/CMakeFiles/cls_lua.dir/lua/cls_lua.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc: In member function 'void OSDMap::encode_client_old(ceph::buffer::v15_2_0::list&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:2805:19: warning: loop variable 'pg' creates a copy from type 'const std::pair >' [-Wrange-loop-construct] 2805 | for (const auto pg : *pg_temp) { | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:2805:19: note: use reference type to prevent copying 2805 | for (const auto pg : *pg_temp) { | ^~ | & [ 46%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw_ops.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 46%] Linking CXX static library ../../lib/libosdc.a [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/trace_replay.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/transaction_test_util.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc: In member function 'void OSDMap::print(std::ostream&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:3824:19: warning: loop variable 'pg' creates a copy from type 'const std::pair >' [-Wrange-loop-construct] 3824 | for (const auto pg : *pg_temp) | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:3824:19: note: use reference type to prevent copying 3824 | for (const auto pg : *pg_temp) | ^~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/health.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/OpenLocalImageRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/PrepareLocalImageRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/Policy.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/SimplePolicy.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/SimplePolicy.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/SimplePolicy.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 46%] Built target osdc /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 46%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/PrepareRemoteImageRequest.cc.o [ 46%] Building CXX object src/mds/CMakeFiles/mds.dir/BatchOp.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 47%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw_types.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/LoadRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/LoadRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/BootstrapRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, store_statfs_t>; C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; traits = denc_traits, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:1528:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T&' {aka 'const std::pair, store_statfs_t>&'} binds to a temporary constructed from type 'const std::pair, store_statfs_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T' {aka 'const std::pair, store_statfs_t>'} to make the copy explicit or 'const std::pair, store_statfs_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 47%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/__/common/ceph_json.cc.o [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/xxhash.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/Policy.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/Policy.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 48%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/StateBuilder.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/variant:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be_params.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/random.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_notify.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {long int, long int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {long int, long int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:72:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, long int, long int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, long int, long int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {int, long int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {int, long int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:78:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, int, long int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, int, long int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sys_obj_cache.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sys_obj_cache.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/variant:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be_params.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object CMakeFiles/rocksdb.dir/utilities/backupable/backupable_db.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 49%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_user_rados.cc.o [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/TimeRollingMean.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, store_statfs_t>; C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; traits = denc_traits, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:1528:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T&' {aka 'const std::pair, store_statfs_t>&'} binds to a temporary constructed from type 'const std::pair, store_statfs_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T' {aka 'const std::pair, store_statfs_t>'} to make the copy explicit or 'const std::pair, store_statfs_t>&' to prevent copying [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/Utils.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sys_obj.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sys_obj.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/otp/cls_otp_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_otp.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_rados.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/UpdateRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_map/UpdateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/CreateLocalImageRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sys_obj_core.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sys_obj_core.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/EventPreprocessor.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_user.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_user.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/PrepareReplayRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_tier_rados.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_tier_rados.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMapUser.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMapUser.cc:1: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMapUser.h:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/CreateImageRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/CreateImageRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 49%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone_utils.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPoolOp.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.cc:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_compaction_filter.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:4517:24: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:4532:21: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_notify.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = interval_set; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 49%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_service.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > >}; container = std::map, std::less, mempool::pool_allocator > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:488:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/inode_backtrace.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/inode_backtrace.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/inode_backtrace.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; traits = denc_traits, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:631:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::map, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::map, std::__cxx11::basic_string > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:640:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = snapid_t; Map = boost::container::flat_map, mempool::pool_allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = snapid_t; Map = boost::container::flat_map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:2092:23: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 49%] Building CXX object src/client/CMakeFiles/client.dir/Client.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying [ 49%] Building CXX object src/client/CMakeFiles/client.dir/Dentry.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/Utils.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/Utils.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/flock.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/flock.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/OpenImageRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:455:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:488:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, std::__cxx11::basic_string, std::allocator >, std::less, mempool::pool_allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {int, std::pair, std::less, mempool::pool_allocator > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {int, std::pair, std::less, mempool::pool_allocator > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:517:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, int, std::pair, std::less, mempool::pool_allocator > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, int, std::pair, std::less, mempool::pool_allocator > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; traits = denc_traits, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:631:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::map, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::map, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:640:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/BootstrapRequest.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 49%] Building CXX object src/mds/CMakeFiles/mds.dir/Capability.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/CloseImageRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/CloseImageRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl_filesnapshot.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 49%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSDaemon.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/OpenImageRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/OpenImageRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/lrc/ErasureCodeLrc.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/lrc/ErasureCodeLrc.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:528:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:1909:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:2011:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::map, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::map, std::__cxx11::basic_string > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/GetMirrorImageIdRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5576:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5578:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSRank.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/CloseImageRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/cls/CMakeFiles/cls_refcount.dir/__/common/ceph_json.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:895:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::bound_encode(const std::pair<_T1, _T2>&, size_t&, uint64_t) [with A = std::__cxx11::basic_string; B = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::pair, std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:967:17: required from 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; traits = denc_traits, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:631:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 49%] Building CXX object src/mds/CMakeFiles/mds.dir/Beacon.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:528:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:1909:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:2011:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::map, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::map, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {unsigned int, int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {unsigned int, int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:4677:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, unsigned int, int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, unsigned int, int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = std::__cxx11::basic_string; B = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair, std::map, std::__cxx11::basic_string > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, mempool::pool_allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >; traits = denc_traits, std::map, std::__cxx11::basic_string >, std::less >, mempool::pool_allocator, std::map, std::__cxx11::basic_string > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.cc:631:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5576:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {snapid_t, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {snapid_t, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5577:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, snapid_t, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, snapid_t, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5578:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/admin_socket.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_sys_obj_cache.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_dump_tool.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_file.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:364:36: required from 'void interval_set::encode_nohead(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:758:20: required from 'static void denc_traits >::encode_nohead(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1627:24: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode_nohead(const T&, buffer::v15_2_0::list&) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:1849:18: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.cc:672:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_tier_rados.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying [ 49%] Building CXX object src/cls/CMakeFiles/cls_lua.dir/lua/lua_bufferlist.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_user.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_user_rados.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareLocalImageRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_rados.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/variant:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be_params.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:4576:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/EventPreprocessor.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/EventPreprocessor.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/journal/cls_journal_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/CloseImageRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_reader.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/erasure-code/lrc/CMakeFiles/ec_lrc.dir/__/__/common/str_map.cc.o [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_writer.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/StateBuilder.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/StateBuilder.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/StateBuilder.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/StateBuilder.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/BaseRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/OpenLocalImageRequest.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/AsyncObjectThrottle.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_format.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/lrc/ErasureCodeLrc.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/Replayer.cc.o [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/ReplayStatusFormatter.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/StateBuilder.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 49%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/SyncPointHandler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_zone_utils.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_zone_utils.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/cassandra_compaction_filter.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.cc:483:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/BatchOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/BatchOp.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/BatchOp.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.cc:483:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/CreateLocalImageRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, inodeno_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, inodeno_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.cc:516:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/format.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/AsyncRequest.cc.o [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ConfigWatcher.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.cc:517:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/DeepCopyRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ExclusiveLock.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/PrepareRemoteImageRequest.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ImageCtx.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_zone.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_zone.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 49%] Building CXX object src/mds/CMakeFiles/mds.dir/flock.cc.o [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ImageState.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ImageWatcher.cc.o [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/internal.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Journal.cc.o [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/LibrbdAdminSocketHook.cc.o [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ManagedLock.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/EventPreprocessor.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/PrepareReplayRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/MirroringWatcher.cc.o [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ObjectMap.cc.o [ 50%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl.cc.o [ 50%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_s3.cc.o [ 50%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_swift.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Dentry.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Dentry.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Dentry.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_user_rados.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Capability.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Capability.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Capability.h:21: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 50%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/ApplyImageStateRequest.cc.o [ 50%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/CreateLocalImageRequest.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/merge_operator.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/checkpoint/checkpoint_impl.cc.o [ 50%] Linking CXX shared library ../../lib/libcls_lua.so [ 50%] Building CXX object src/client/CMakeFiles/client.dir/Fh.cc.o [ 51%] Building CXX object src/client/CMakeFiles/client.dir/Inode.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Dentry.h:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/debug.cc.o [ 51%] Built target cls_lua [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/env_mirror.cc.o [ 51%] Building C object src/mds/CMakeFiles/mds.dir/locks.c.o [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/env_timed.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/StateBuilder.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/leveldb_options/leveldb_options.cc.o [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Operations.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientCaps.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/iterator/iterator_traits.hpp:10, from /usr/include/boost/range/iterator_range_core.hpp:26, from /usr/include/boost/lexical_cast.hpp:30, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:29: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/memory/memory_util.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/SyncPointHandler.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/SyncPointHandler.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/Types.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/TrashWatcher.cc.o [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Utils.cc.o [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Watcher.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSLoadTargets.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Capability.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 51%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_aio.cc.o [ 51%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_aio_throttle.cc.o [ 51%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_auth.cc.o [ 51%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_auth_s3.cc.o [ 51%] Building CXX object src/mds/CMakeFiles/mds.dir/journal.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 51%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_arn.cc.o [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Config.cc.o [ 51%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_basic_types.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 51%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/bytesxor.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 52%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket_sync.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ConfigWatcher.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ConfigWatcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ConfigWatcher.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageState.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageState.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageState.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 52%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/PrepareReplayRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 52%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/Replayer.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/LogSegment.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDLog.h:49, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 53%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/StateBuilder.cc.o [ 53%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/Utils.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/LogSegment.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 53%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_sync/SyncPointCreateRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSDaemon.cc:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSDaemon.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncObjectThrottle.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncObjectThrottle.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncObjectThrottle.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_sync/SyncPointPruneRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/SyncPointHandler.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/Replayer.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/Replayer.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/Replayer.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/Replayer.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/StateBuilder.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/iterator/iterator_traits.hpp:10, from /usr/include/boost/range/iterator_range_core.hpp:26, from /usr/include/boost/range/iterator_range.hpp:13, from /usr/include/boost/assign/list_of.hpp:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageWatcher.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageWatcher.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/mds/CMakeFiles/mds.dir/Server.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:65: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl_swift.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Dentry.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/DeepCopyRequest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/DeepCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/DeepCopyRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageWatcher.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/BaseRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Config.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Config.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageWatcher.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSLoadTargets.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/max.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageState.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/internal.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/internal.cc:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/flock.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/flock.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/LibrbdAdminSocketHook.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/LibrbdAdminSocketHook.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cache.cc.o [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/ApplyImageStateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/Replayer.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/journal/ReplayStatusFormatter.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/client/CMakeFiles/client.dir/MetaRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ObjectMap.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ObjectMap.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/fs_types.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ObjectMap.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_aio_throttle.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/MirroringWatcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/MirroringWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/MirroringWatcher.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ObjectMap.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_aio.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/Utils.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/client/CMakeFiles/client.dir/ClientSnapRealm.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 53%] Building CXX object src/client/CMakeFiles/client.dir/MetaSession.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/CreateLocalImageRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/LibrbdAdminSocketHook.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/client/CMakeFiles/client.dir/Trace.cc.o [ 53%] Building CXX object src/client/CMakeFiles/client.dir/posix_acl.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend2.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 53%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_common.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/uint64add.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ObjectMap.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/option_change_migration/option_change_migration.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Fh.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/numeric:61, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Linking CXX shared library ../../lib/libcls_refcount.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl_s3.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 53%] Linking CXX shared library ../../../lib/libec_lrc.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 53%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/DiffIterate.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/ObjectMapIterate.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Operations.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Operations.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Operations.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageWatcher.h:8: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Watcher.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Group.cc.o [ 53%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Image.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Operations.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Built target cls_refcount [ 53%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Migration.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/internal.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Mirror.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_arn.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/SyncPointPruneRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/SyncPointPruneRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/Types.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/options/options_util.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/SyncPointCreateRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/SyncPointCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/Types.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCommand.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/CommandTable.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSDaemon.cc:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_zone.cc:1179:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_s3.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_s3.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 53%] Built target ec_lrc In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_bucket_sync.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 53%] Built target erasure_code_plugins In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/TrashWatcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/TrashWatcher.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/TrashWatcher.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_compression.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl_swift.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_file.cc.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.cc:7: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:8: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.cc:872:33: required from 'void librbd::Journal::commit_io_event_extent(uint64_t, uint64_t, uint64_t, int) [with ImageCtxT = librbd::ImageCtx; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.cc:1795:24: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_aio.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_aio.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_zone.cc:1179:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl_s3.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 53%] Building CXX object src/mds/CMakeFiles/mds.dir/Mutation.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_aio_throttle.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_aio_throttle.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/flock.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.h:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_bucket.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_bucket.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Config.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 53%] Building CXX object src/mds/CMakeFiles/mds.dir/MDCache.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 53%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_etag_verifier.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 53%] Building CXX object src/mds/CMakeFiles/mds.dir/RecoveryQueue.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/ClientSnapRealm.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/ClientSnapRealm.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/ClientSnapRealm.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/PrepareReplayRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/BaseRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/PrepareReplayRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/PrepareReplayRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl_swift.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 53%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_sync/Utils.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/SyncPointPruneRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_sync/SyncPointCreateRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 53%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cors.cc.o [ 53%] Building CXX object src/client/CMakeFiles/client.dir/Delegation.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:17: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1698:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1697:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:526:14, inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1708:26, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1703:36, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 54%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Namespace.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl_s3.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 54%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Pool.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/StateBuilder.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/StateBuilder.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 54%] Building CXX object src/mds/CMakeFiles/mds.dir/StrayManager.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 54%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/PoolMetadata.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/journal.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/journal.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 54%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Snapshot.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Image.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Image.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Mirror.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Mirror.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Migration.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Migration.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_metadata.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_arn.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_arn.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 54%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/pool_watcher/RefreshImagesRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/persistent_cache_tier.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/Replayer.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/volatile_tier_impl.cc.o [ 54%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Trash.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 54%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ImageWriteback.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_s3.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 54%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ObjectCacherObjectDispatch.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/simulator_cache/sim_cache.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/table_properties_collectors/compact_on_deletion_collector.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Server.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/iterator/iterator_traits.hpp:10, from /usr/include/boost/range/iterator_range_core.hpp:26, from /usr/include/boost/lexical_cast.hpp:30, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Server.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/trace/file_trace_reader_writer.cc.o [ 54%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/service_daemon/Types.cc.o [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction_db_impl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 54%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cors_s3.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Snapshot.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Snapshot.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.h:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Pool.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Pool.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Pool.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaRequest.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 54%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ParentCacheObjectDispatch.cc.o [ 54%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_dencoder.cc.o [ 54%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_env.cc.o [ 54%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_es_query.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/DiffIterate.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bit_vector.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/DiffIterate.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/DiffIterate.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/EMetaBlob.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/ESubtreeMap.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/journal.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/pool_watcher/RefreshImagesRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/pool_watcher/RefreshImagesRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/pool_watcher/RefreshImagesRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction_db.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 54%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_formats.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 54%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_gc.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc: In member function 'int Client::resolve_mds(const std::string&, std::vector*)': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:5702:21: warning: loop variable 'i' creates a copy from type 'const std::pair' [-Wrange-loop-construct] 5702 | for (const auto i : mds_info) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:5702:21: note: use reference type to prevent copying 5702 | for (const auto i : mds_info) { | ^ | & /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc: In member function 'int Client::mds_command(const std::string&, const std::vector >&, const ceph::bufferlist&, ceph::bufferlist*, std::string*, Context*)': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:5832:19: warning: loop variable 'gid' creates a copy from type 'const mds_gid_t' [-Wrange-loop-construct] 5832 | for (const auto gid : targets) { | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:5832:19: note: use reference type to prevent copying 5832 | for (const auto gid : targets) { | ^~~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:5851:19: warning: loop variable 'target_gid' creates a copy from type 'const mds_gid_t' [-Wrange-loop-construct] 5851 | for (const auto target_gid : non_laggy) { | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:5851:19: note: use reference type to prevent copying 5851 | for (const auto target_gid : non_laggy) { | ^~~~~~~~~~ | & [ 54%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_gc_log.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:46: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1698:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1697:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:526:14, inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1708:26, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1703:36, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_compression.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_compression.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Mutation.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Mutation.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 54%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_http_client.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Group.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Group.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/DiffIterate.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 55%] Building CXX object src/mds/CMakeFiles/mds.dir/PurgeQueue.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Group.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Trash.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Trash.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/DeepCopyRequest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Image.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaSession.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaSession.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaSession.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 55%] Building CXX object src/mds/CMakeFiles/mds.dir/Locker.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaSession.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 55%] Building CXX object src/mds/CMakeFiles/mds.dir/Migrator.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Mirror.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 55%] Building CXX object src/mds/CMakeFiles/mds.dir/MDBalancer.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Migration.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 55%] Building CXX object src/mds/CMakeFiles/mds.dir/CDentry.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Mirror.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Mirror.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Namespace.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Namespace.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Migration.cc:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/RecoveryQueue.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Group.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchInterface.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ObjectCacherObjectDispatch.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ObjectCacherObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchInterface.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 55%] Building CXX object src/mds/CMakeFiles/mds.dir/CDir.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Mutation.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_gc_log.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_gc_log.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/fstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Namespace.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bit_vector.hpp:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Pool.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCommand.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 55%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ObjectCacherWriteback.cc.o [ 55%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/PassthroughImageCache.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Snapshot.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/PoolMetadata.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/PoolMetadata.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/PoolMetadata.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ObjectCacherObjectDispatch.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 55%] Linking CXX shared library ../../lib/libcls_rgw.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_compression.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Dentry.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaRequest.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:45: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/StrayManager.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_counters.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/StrayManager.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 56%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_json_enc.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cors_s3.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Delegation.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Delegation.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Trash.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 56%] Built target cls_rgw [ 56%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_keystone.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_env.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_dencoder.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 56%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/WriteAroundObjectDispatch.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 56%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_ldap.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ImageWriteback.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ImageWriteback.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ImageWriteback.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_putobj.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_es_query.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Pool.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientSession.h:88:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_s3.h:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_gc_log.h:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Inode.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/MetaSession.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/snapshot_checker.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_formats.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_gc.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_gc.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_gc.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 56%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_lc.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 56%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_lc_s3.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ImageWriteback.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 56%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/ImageCopyRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 56%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/MetadataCopyRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:217:24: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:3433:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/api/Pool.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 56%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/ObjectCopyRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientSession.h:88:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/SetHeadRequest.cc.o [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/SnapshotCopyRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 57%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_metadata.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ParentCacheObjectDispatch.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/WorkQueue.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ParentCacheObjectDispatch.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_bucket.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.cc:3433:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/PurgeQueue.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/PurgeQueue.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchInterface.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/WriteAroundObjectDispatch.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/WriteAroundObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchInterface.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ParentCacheObjectDispatch.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.h:52, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/RecoveryQueue.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ImageWriteback.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Locker.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_gc.h:13: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ImageCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ImageCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 57%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_multi.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cors_s3.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/WriteAroundObjectDispatch.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/SnapshotCreateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/Utils.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_es_query.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_client.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/MetadataCopyRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/MetadataCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/MetadataCopyRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDBalancer.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Migrator.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/BatchOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_keystone.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_base.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SnapshotCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SnapshotCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_db_mutex_impl.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /usr/include/boost/format.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_formats.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SetHeadRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SetHeadRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_lock_mgr.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.h:52: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/PassthroughImageCache.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/StriperTypes.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ImageCache.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/PassthroughImageCache.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/PassthroughImageCache.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_util.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ObjectCacherWriteback.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ObjectCacherWriteback.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ObjectCacherWriteback.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ImageCopyRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn_db.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_es_query.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_json_enc.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/WorkQueue.h:39: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc_s3.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cors_s3.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/AutomaticPolicy.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_ldap.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 57%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_multi_del.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 57%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_obj_manifest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.cc: In member function 'virtual int rgw::putobj::ETagVerifier_MPU::process(ceph::bufferlist&&, uint64_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.cc:130:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 130 | if (next_part_index == part_ofs.size()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.cc:148:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 148 | if (next_part_index == part_ofs.size()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 57%] Linking CXX static library ../../../lib/librbd_mirror_internal.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /usr/include/c++/12/ios:40, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:19: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)', inlined from 'static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.h:423:21, inlined from 'static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.h:418:7, inlined from 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.tcc:532:22, inlined from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.h:1647:19, inlined from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.h:815:28, inlined from 'std::string ccap_string(int)' at /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:140:9: /usr/include/c++/12/bits/char_traits.h:431:56: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict] 431 | return static_cast(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/WriteAroundObjectDispatch.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying [ 57%] Building CXX object src/mds/CMakeFiles/mds.dir/CInode.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PreAcquireRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ObjectCacherWriteback.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_metadata.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_metadata.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SetHeadRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SnapshotCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/MetadataCopyRequest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/utility/string_view.hpp:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_s3.h:10: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void* maybe_inline_memcpy(void*, const void*, size_t, size_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/inline_memory.h:28:18, inlined from 'std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/StackStringStream.h:65:26, inlined from 'std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12/streambuf:456:28, inlined from 'bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]' at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SnapshotCopyRequest.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SetHeadRequest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 57%] Building CXX object src/mds/CMakeFiles/mds.dir/LogEvent.cc.o [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PostAcquireRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:59: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/WriteAroundObjectDispatch.cc:273:33: required from 'void librbd::cache::WriteAroundObjectDispatch::unblock_overlapping_ios(uint64_t, uint64_t, uint64_t, Contexts*) [with ImageCtxT = librbd::ImageCtx; uint64_t = long unsigned int; Contexts = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/WriteAroundObjectDispatch.cc:520:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchInterface.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PreReleaseRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SnapshotCopyRequest.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSTable.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Utils.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Utils.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/algorithm/string/predicate.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_keystone.cc:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc_s3.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.h:52, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/PurgeQueue.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDBalancer.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Building CXX object src/mds/CMakeFiles/mds.dir/InoTable.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/StandardPolicy.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn_db.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_obj_manifest.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_multi.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_multi.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/AttachChildRequest.cc.o [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/AttachParentRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/CloneRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In static member function 'static _Tp* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(const _Tp*, const _Tp*, _Tp*) [with _Tp = char; bool _IsMove = false]', inlined from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const char*; _OI = char*]' at /usr/include/c++/12/bits/stl_algobase.h:495:30, inlined from '_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const char*; _OI = char*]' at /usr/include/c++/12/bits/stl_algobase.h:522:42, inlined from '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const char*; _OI = char*]' at /usr/include/c++/12/bits/stl_algobase.h:529:31, inlined from '_OI std::copy(_II, _II, _OI) [with _II = const char*; _OI = char*]' at /usr/include/c++/12/bits/stl_algobase.h:620:7, inlined from 'basic_sstring::basic_sstring(const char_type*, size_t) [with char_type = char; Size = short unsigned int; Size max_size = 65]' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:210:22, inlined from 'rgw::auth::s3::AWSEngine::VersionAbstractor::server_signature_t rgw::auth::s3::get_v2_signature(ceph::common::CephContext*, const std::string&, const AWSEngine::VersionAbstractor::string_to_sign_t&)' at /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_s3.cc:812:36: /usr/include/c++/12/bits/stl_algobase.h:431:30: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset 64 is out of the bounds [0, 64] of object 'buf' with type 'char [64]' [-Warray-bounds] 431 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_s3.cc: In function 'rgw::auth::s3::AWSEngine::VersionAbstractor::server_signature_t rgw::auth::s3::get_v2_signature(ceph::common::CephContext*, const std::string&, const AWSEngine::VersionAbstractor::string_to_sign_t&)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_s3.cc:801:8: note: 'buf' declared here 801 | char buf[64]; | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_keystone.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bit_vector.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ImageCopyRequest.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SetHeadRequest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /usr/include/boost/config/no_tr1/functional.hpp:21, from /usr/include/boost/smart_ptr/intrusive_ptr.hpp:24, from /usr/include/boost/intrusive_ptr.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_metadata.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/CloseRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SnapshotCopyRequest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 57%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 57%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_data_sync.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_obj_manifest.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_obj_manifest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 57%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_counters.cc.o [ 57%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/CreateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/DetachChildRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/DetachParentRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SnapshotCreateRequest.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/GetMetadataRequest.cc.o /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Server.cc: In member function 'void Server::handle_set_vxattr(MDRequestRef&, CInode*)': /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Server.cc:5664:18: warning: unused variable 'realm' [-Wunused-variable] 5664 | SnapRealm *realm = cur->find_snaprealm(); | ^~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.h:52, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Locker.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_multi_del.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_multi_del.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/ListWatchersRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/OpenRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/PreRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.cc:712:22: required from 'void librbd::deep_copy::ObjectCopyRequest::compute_read_ops() [with ImageCtxT = librbd::ImageCtx]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.cc:1071:35: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/RefreshParentRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/AutomaticPolicy.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/RefreshRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/AttachChildRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/AttachChildRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/ttl/db_ttl_impl.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/AttachParentRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/AttachParentRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/AttachParentRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PreAcquireRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PreAcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PreAcquireRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 58%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module.cc.o [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/RemoveRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/SetFlagsRequest.cc.o [ 58%] Building CXX object src/mds/CMakeFiles/mds.dir/JournalPointer.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/SetHeadRequest.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 58%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_aws.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_multi.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc_s3.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PostAcquireRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PostAcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PostAcquireRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 58%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSTableClient.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/DetachParentRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/DetachParentRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/DetachParentRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PreReleaseRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PreReleaseRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/DetachChildRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/DetachChildRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/DetachChildRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/GetMetadataRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/GetMetadataRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CreateRequest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CreateRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CreateRequest.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {inodeno_t, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {inodeno_t, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/journal.cc:785:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, inodeno_t, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, inodeno_t, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PostAcquireRequest.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 58%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSTableServer.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.cc: In member function 'virtual void rgw::putobj::ETagVerifier_MPU::calculate_etag()': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.cc:179:14: warning: '%lld' directive output may be truncated writing between 1 and 20 bytes into a region of size 15 [-Wformat-truncation=] 179 | "-%lld", (long long)(part_ofs.size())); | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.cc:179:12: note: directive argument in the range [-1152921504606846976, 1152921504606846975] 179 | "-%lld", (long long)(part_ofs.size())); | ^~~~~~~ In file included from /usr/include/stdio.h:906, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:26: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'virtual void rgw::putobj::ETagVerifier_MPU::calculate_etag()' at /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_etag_verifier.cc:177:11: /usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 3 and 22 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/PreRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/PreRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_multi_del.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/PreReleaseRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 58%] Built target rbd_mirror_internal [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/SetSnapRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_zone.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_pubsub.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/LogEvent.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/LogEvent.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index_internal.cc.o [ 58%] Building CXX object src/mds/CMakeFiles/mds.dir/ScrubStack.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/AttachParentRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/exclusive_lock/StandardPolicy.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_basic_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_types.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_client.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/AttachChildRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/port/port_posix.cc.o [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/ValidatePoolRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Server.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTable.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTable.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator >, buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, buffer::v15_2_0::ptr> > >; traits = denc_traits, mempool::pool_allocator >, buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, buffer::v15_2_0::ptr> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = std::__cxx11::basic_string, mempool::pool_allocator >; T = ceph::buffer::v15_2_0::ptr; Map = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = std::__cxx11::basic_string, mempool::pool_allocator >; T = ceph::buffer::v15_2_0::ptr; Map = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/journal.cc:402:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image_watcher/NotifyLockOwner.cc.o [ 58%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/AioCompletion.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTable.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 59%] Building CXX object src/mds/CMakeFiles/mds.dir/DamageTable.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_multi_del.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CloneRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_client.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CloneRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 59%] Built target common-msg-objs [ 59%] Building CXX object src/mds/CMakeFiles/mds.dir/SimpleLock.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator >, buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, buffer::v15_2_0::ptr> > >; traits = denc_traits, mempool::pool_allocator >, buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, buffer::v15_2_0::ptr> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = std::__cxx11::basic_string, mempool::pool_allocator >; T = ceph::buffer::v15_2_0::ptr; Map = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = std::__cxx11::basic_string, mempool::pool_allocator >; T = ceph::buffer::v15_2_0::ptr; Map = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/journal.cc:402:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying [ 59%] Building CXX object src/mds/CMakeFiles/mds.dir/SnapRealm.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/MetadataCopyRequest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CloneRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CloseRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CloseRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 59%] Building CXX object src/mds/CMakeFiles/mds.dir/SnapServer.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RefreshParentRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RefreshParentRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_metadata.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/DetachChildRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 96%] Building CXX object CMakeFiles/rocksdb.dir/env/env_posix.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/ListWatchersRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/rados_types.hpp:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/ListWatchersRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/ListWatchersRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/DetachParentRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [100%] Building CXX object CMakeFiles/rocksdb.dir/env/io_posix.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_counters.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CreateRequest.h:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/ValidatePoolRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/ValidatePoolRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 60%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/AsyncOperation.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CloseRequest.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_aws.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CreateRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 60%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/CopyupRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_histogram.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_counters.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/GetMetadataRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RefreshRequest.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RefreshRequest.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RefreshRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 60%] Building CXX object src/mds/CMakeFiles/mds.dir/SnapClient.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/PreRemoveRequest.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/OpenRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/OpenRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/OpenRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 60%] Building CXX object src/mds/CMakeFiles/mds.dir/snap.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/PreRemoveRequest.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_data_sync.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 60%] Building CXX object src/mds/CMakeFiles/mds.dir/SessionMap.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 60%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSContext.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 60%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/FlushTracker.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 60%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ImageDispatchSpec.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RefreshRequest.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 61%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 61%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es_rest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 61%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_log.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RefreshParentRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ImageRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/SetFlagsRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/SetFlagsRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/SetFlagsRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/boost/optional/bad_optional_access.hpp:15, from /usr/include/boost/optional/optional.hpp:34, from /usr/include/boost/optional.hpp:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ImageRequestWQ.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 61%] Built target common-objs [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectDispatch.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/cache/ObjectCacherObjectDispatch.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/OpenRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 61%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTable.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RemoveRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_multi.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AsyncOperation.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AsyncOperation.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AsyncOperation.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 61%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_policy.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ [100%] Linking CXX static library librocksdb.a /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RemoveRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_data_sync.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 61%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSAuthCaps.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_aws.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image_watcher/NotifyLockOwner.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image_watcher/NotifyLockOwner.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image_watcher/NotifyLockOwner.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config_proxy.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/SetSnapRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_client.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/SetSnapRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/SetSnapRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/CopyupRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/CopyupRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/SetSnapRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTableClient.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTableClient.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectDispatchSpec.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 61%] Building CXX object src/mds/CMakeFiles/mds.dir/MDLog.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectDispatcher.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/SetSnapRequest.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AsyncOperation.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/CopyupRequest.h:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/ValidatePoolRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTable.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTableServer.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTableServer.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/CreateRequest.h:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 61%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSCacheObject.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ReadResult.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/JournalPointer.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/JournalPointer.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatch.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatch.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 61%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub_push.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/ScrubStack.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/ScrubStack.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/ScrubStack.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/SimpleSchedulerObjectDispatch.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SimpleLock.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SimpleLock.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /usr/include/boost/config/no_tr1/functional.hpp:21, from /usr/include/boost/smart_ptr/intrusive_ptr.hpp:24, from /usr/include/boost/intrusive_ptr.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SimpleLock.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/Utils.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 61%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/CreateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AsyncOperation.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_es.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_es.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_es_rest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTable.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTableServer.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 62%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/DemoteRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/DamageTable.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/DamageTable.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 62%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_notify.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 62%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_notify_event_type.cc.o [ 62%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/ObjectDispatch.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bloom_filter.hpp:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/snap.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/snap.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/snap.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapRealm.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapRealm.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapRealm.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 62%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/OpenRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/JournalPointer.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_log.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/RefreshRequest.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_zone.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_pubsub.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_policy.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 62%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/PromoteRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageDispatchSpec.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageDispatchSpec.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageDispatchSpec.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/ObjectCopyRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/CopyupRequest.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 62%] Building CXX object src/mds/CMakeFiles/mds.dir/Mantle.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapClient.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 62%] Building CXX object src/mds/CMakeFiles/mds.dir/Anchor.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequest.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequest.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/FlushTracker.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/FlushTracker.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/FlushTracker.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTableClient.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSTableServer.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatch.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [100%] Built target rocksdb In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 62%] Performing install step for 'rocksdb_ext' [ 62%] Completed 'rocksdb_ext' In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 62%] Built target rocksdb_ext [ 62%] Building CXX object src/mds/CMakeFiles/mds.dir/OpenFileTable.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSAuthCaps.cc:20: /usr/include/boost/spirit/include/phoenix_operator.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 63%] Building CXX object src/mds/CMakeFiles/mds.dir/__/common/TrackedOp.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSContext.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 63%] Building CXX object src/mds/CMakeFiles/mds.dir/__/common/MemoryModel.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 63%] Building CXX object src/mds/CMakeFiles/mds.dir/__/osdc/Journaler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchSpec.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchSpec.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchSpec.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ObjectDispatch.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ObjectDispatch.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/CopyupRequest.cc:5: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/SimpleSchedulerObjectDispatch.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/SimpleSchedulerObjectDispatch.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/SimpleSchedulerObjectDispatch.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 63%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub_rest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatcher.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatcher.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatcher.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectDispatchInterface.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/SimpleSchedulerObjectDispatch.h:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_pubsub.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_notify.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_notify.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_notify.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_b64.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_es.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectRequest.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/image/OpenRequest.cc:5: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 63%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/RemoveRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:10: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_data_sync.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/DemoteRequest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/DemoteRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/DemoteRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 63%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_trace.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/zipkin_trace.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/CopyupRequest.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/CreateRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/CreateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/zipkin_trace.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageDispatchSpec.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/ScrubStack.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 63%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/Replay.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_pubsub_push.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 63%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_bilog.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/PromoteRequest.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/PromoteRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/PromoteRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectRequest.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/Utils.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/rados_types.hpp:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/Utils.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/Utils.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/Utils.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 63%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/ResetRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapClient.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/AsyncOpTracker.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ObjectMap.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectRequest.h:12: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/SimpleSchedulerObjectDispatch.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Migrator.cc:1649:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/CreateRequest.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/CreateRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 63%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_datalog.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientRequest.h:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDLog.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_iterator.h:64, from /usr/include/c++/12/bits/range_access.h:38, from /usr/include/c++/12/string_view:44, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ObjectDispatch.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ObjectRequest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 63%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_mdlog.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 63%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/StandardPolicy.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/OpenRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/OpenRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/OpenRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/OpenRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 63%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/Utils.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.cc:1081:39: required from 'void librbd::io::ImageRequestWQ::remove_in_flight_write_ios(uint64_t, uint64_t, bool, uint64_t) [with ImageCtxT = librbd::ImageCtx; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ImageRequestWQ.cc:1252:28: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/OpenRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ObjectDispatch.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 63%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_period_history.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDCache.h:52, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapRealm.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/DemoteRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/OpenFileTable.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/DemoteRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 64%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_period_puller.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc.cc: In function 'std::string rgw::lc::s3_expiration_header(DoutPrefixProvider*, const rgw_obj_key&, const RGWObjTags&, const ceph::real_time&, const std::map, ceph::buffer::v15_2_0::list>&)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc.cc:2238:31: warning: '*(const std::chrono::time_point > >*)((char*)&expiration_date + offsetof(boost::optional > > >,boost::optional > > >::.boost::optional_detail::optional_base > > >::m_storage.boost::optional_detail::aligned_storage > > >::dummy_)).std::chrono::time_point::__d.std::chrono::duration >::__r' may be used uninitialized [-Wmaybe-uninitialized] 2238 | if ((! expiration_date) || | ~~~~~~~~~~~~~~~~~~~~^~ 2239 | (*expiration_date > *rule_expiration_date)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lc.cc:2158:36: note: '*(const std::chrono::time_point > >*)((char*)&expiration_date + offsetof(boost::optional > > >,boost::optional > > >::.boost::optional_detail::optional_base > > >::m_storage.boost::optional_detail::aligned_storage > > >::dummy_)).std::chrono::time_point::__d.std::chrono::duration >::__r' was declared here 2158 | boost::optional expiration_date; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Anchor.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Anchor.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Anchor.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/PromoteRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ResetRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ResetRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ResetRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/zipkin_trace.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/Utils.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/PromoteRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.cc:70:25: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub_common.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_pubsub_rest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_pubsub_push.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_pubsub_push.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_counters.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Utils.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/RemoveRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/RemoveRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/RemoveRequest.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/RemoveRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 64%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/AcquireRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/histogram.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Mantle.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ObjectDispatch.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 64%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_reshard.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 64%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_coroutine.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 64%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/BreakRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 64%] Building CXX object src/kv/CMakeFiles/kv.dir/KeyValueDB.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 64%] Building CXX object src/kv/CMakeFiles/kv.dir/MemDB.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 64%] Building CXX object src/kv/CMakeFiles/kv.dir/RocksDBStore.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_trace.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bitset:47, from /usr/include/c++/12/regex:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_trace.cc:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator >, buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, buffer::v15_2_0::ptr> > >; traits = denc_traits, mempool::pool_allocator >, buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, buffer::v15_2_0::ptr> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = std::__cxx11::basic_string, mempool::pool_allocator >; T = ceph::buffer::v15_2_0::ptr; Map = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = std::__cxx11::basic_string, mempool::pool_allocator >; T = ceph::buffer::v15_2_0::ptr; Map = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.cc:1523:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_puller.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Replay.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Replay.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Replay.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ResetRequest.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 65%] Building CXX object src/kv/CMakeFiles/kv.dir/rocksdb_cache/ShardedCache.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_module_pubsub_rest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator >, buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, buffer::v15_2_0::ptr> > >; traits = denc_traits, mempool::pool_allocator >, buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, buffer::v15_2_0::ptr> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = std::__cxx11::basic_string, mempool::pool_allocator >; T = ceph::buffer::v15_2_0::ptr; Map = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = std::__cxx11::basic_string, mempool::pool_allocator >; T = ceph::buffer::v15_2_0::ptr; Map = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.cc:1523:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > > >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, mempool::pool_allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying [ 65%] Building CXX object src/kv/CMakeFiles/kv.dir/rocksdb_cache/BinnedLRUCache.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Replay.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_history.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/StandardPolicy.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/WorkQueue.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/StandardPolicy.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_history.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_history.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 65%] Building CXX object src/kv/CMakeFiles/kv.dir/LevelDBStore.cc.o [ 65%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/GetLockerRequest.cc.o [ 65%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rados.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/CreateRequest.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/ResetRequest.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc: In constructor 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:46: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 155 | snprintf(lock_name, sizeof(lock_name), "%s:%" PRIu32, "OpTracker::ShardedLock", i); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:46: note: directive argument in the range [0, 4294967294] In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3960, from /usr/include/c++/12/string:53, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.h:18: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:15: /usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 25 and 34 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_histogram.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_counters.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.cc:855:25: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/AcquireRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/AcquireRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rados.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_trim_bilog.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Replay.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_counters.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/StandardPolicy.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rados.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_trim_datalog.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Utils.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Utils.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Utils.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 65%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/ReacquireRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 65%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 65%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_tools.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 65%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_object_expirer_core.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_reshard.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_reshard.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 65%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_op.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_trim_bilog.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Mantle.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 65%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/ReleaseRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/Utils.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/Beacon.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/OpenFileTable.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/DemoteRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_trim_mdlog.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/DisableRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_trim_datalog.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bloom_filter.hpp:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDir.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/EnableRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 66%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_otp.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 66%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_policy_s3.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_trim_mdlog.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 66%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_public_access.cc.o [ 66%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_putobj.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/AcquireRequest.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/GetInfoRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/ReacquireRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/ReacquireRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rados.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 66%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_putobj_processor.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/GetStatusRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/BreakRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/BreakRequest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/BreakRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/GetUuidRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 66%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_quota.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/ImageRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/MemDB.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/MemDB.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/MemDB.cc:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.h:51:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/ImageStateUpdateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/EnableRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/EnableRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/ReleaseRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/ReleaseRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/PromoteRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/MemDB.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/KeyValueDB.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/KeyValueDB.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/KeyValueDB.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/bind.hpp:30, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.cc:12: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/CreateNonPrimaryRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ [ 66%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/CreatePrimaryRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync_trace.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 67%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rados.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/GetLockerRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/GetLockerRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/GetLockerRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/ImageRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/ImageRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetUuidRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetUuidRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetUuidRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_trim_bilog.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_trim_bilog.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 67%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_resolve.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/ImageStateUpdateRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/ImageStateUpdateRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 67%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/perf_counters.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/MemDB.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 67%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/DemoteRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_meta_be_otp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_otp.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_otp.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/ReacquireRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 67%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_client.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetInfoRequest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetInfoRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/snap_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetInfoRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 67%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/GetImageStateRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/CreatePrimaryRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/CreatePrimaryRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/CreatePrimaryRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_history.h:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ManagedLock.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ExclusiveLock.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DemoteRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DemoteRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DemoteRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/KeyValueDB.h:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 67%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_conn.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DemoteRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_policy_s3.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 67%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_log.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/managed_lock/ReleaseRequest.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DemoteRequest.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/journal/Journaler.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DisableRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DisableRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DisableRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/EnableRequest.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_object_expirer_core.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DisableRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/EnableRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/DisableRequest.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sync.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 67%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_metadata.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 67%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/ImageMeta.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 67%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_pubsub.cc.o [ 68%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/PromoteRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_service.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/services/svc_rados.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_aio.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_putobj_processor.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_quota.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rados.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_tools.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_tools.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetInfoRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 68%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_pubsub_common.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetInfoRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_object_expirer_core.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/MirroringWatcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/ImageRemoveRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 68%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/RemoveImageStateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetStatusRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetStatusRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetStatusRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetUuidRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/MirroringWatcher.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/ImageStateUpdateRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/GetStatusRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_otp.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 68%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/SetImageStateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_resolve.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 68%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/Types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /usr/include/boost/config/no_tr1/functional.hpp:21, from /usr/include/boost/smart_ptr/intrusive_ptr.hpp:24, from /usr/include/boost/intrusive_ptr.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 68%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_realm.cc.o [ 68%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_role.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_tools.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 68%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_s3.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_conn.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_policy_s3.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/PromoteRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/PromoteRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/PromoteRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/CreatePrimaryRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/ImageMeta.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/ImageMeta.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 68%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_role.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/PromoteRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 68%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sal.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/PromoteRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/PromoteRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/PromoteRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_string.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tag.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_client.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/UnlinkPeerRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_aio.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_otp.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/Utils.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogEntry.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/LogClient.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/WriteImageStateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tag_s3.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/CreateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/DiffRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/InvalidateRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/DemoteRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/DemoteRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/DemoteRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.cc:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_quota.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_log.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSRank.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tools.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/GetImageStateRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/GetImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/GetImageStateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/LockRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_metadata.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub_common.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_user.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub_common.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/Types.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/Types.cc:64:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/Types.cc:64:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_website.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_object_expirer_core.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/ImageMeta.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_xml.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.cc:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/RefreshRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/RemoveRequest.cc.o [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_xml_enc.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_torrent.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.cc: In function 'int iterate_user_manifest_parts(ceph::common::CephContext*, rgw::sal::RGWRadosStore*, off_t, off_t, RGWBucketInfo*, const std::string&, RGWAccessControlPolicy*, const boost::optional&, uint64_t*, uint64_t*, std::string*, int (*)(RGWBucketInfo&, const rgw_bucket_dir_entry&, RGWAccessControlPolicy*, const boost::optional&, off_t, off_t, void*, bool), void*)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.cc:1722:15: warning: unused variable 'bucket' [-Wunused-variable] 1722 | rgw_bucket& bucket = pbucket_info->bucket; | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 69%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/Request.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sal.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sal.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/PromoteRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 69%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_crypt.cc.o [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/ResizeRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 70%] Linking CXX static library ../../lib/libkv.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/SnapshotCreateRequest.cc.o [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/SnapshotRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/SnapshotRollbackRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/UnlockRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_role.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/RemoveImageStateRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/RemoveImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/RemoveImageStateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_s3.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_log.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/SetImageStateRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/Types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/SetImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/SetImageStateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/UpdateRequest.cc.o [ 70%] Built target kv [ 70%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_crypt_sanitize.cc.o [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/DisableFeaturesRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 70%] Building CXX object src/mon/CMakeFiles/mon.dir/__/auth/cephx/CephxKeyServer.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bitset:47, from /usr/include/c++/12/regex:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tag.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 70%] Building CXX object src/mon/CMakeFiles/mon.dir/__/auth/cephx/CephxServiceHandler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 70%] Building CXX object src/mon/CMakeFiles/mon.dir/__/auth/AuthServiceHandler.cc.o [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/EnableFeaturesRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/FlattenRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_asio.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tools.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tools.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 70%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_iam_policy.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 70%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_user_policy.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MetadataRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/Utils.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/Utils.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/WriteImageStateRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/Types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/WriteImageStateRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/WriteImageStateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/UnlinkPeerRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/UnlinkPeerRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/mirror/snapshot/UnlinkPeerRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/CreateRequest.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/CreateRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/CreateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_torrent.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_torrent.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_torrent.cc:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/DiffRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bit_vector.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/DiffRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/DiffRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/InvalidateRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/InvalidateRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 70%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_zone.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_role.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/DiffRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.cc:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sal.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_xml_enc.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 70%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MetadataSetRequest.cc.o [ 71%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sts.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/LockRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/LockRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/LockRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 71%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MigrateRequest.cc.o [ 71%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_sts.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 71%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/ObjectMapIterate.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/CreateRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tools.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 71%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/RebuildObjectMapRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_s3.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_s3.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/RenameRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/Request.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tag.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_perf_counters.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/RemoveRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/RemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/RemoveRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/CreateRequest.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/RefreshRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/RefreshRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/RefreshRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_oidc_provider.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_iam.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_crypt.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_crypt_sanitize.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bit_vector.hpp:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/ResizeRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/ResizeRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tag.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tag.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/RefreshRequest.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_object_lock.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/Request.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/ResizeRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 72%] Building CXX object src/mon/CMakeFiles/mon.dir/Paxos.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/SnapshotRemoveRequest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/SnapshotRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/SnapshotRemoveRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotCreateRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxKeyServer.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 72%] Building CXX object src/mon/CMakeFiles/mon.dir/PaxosService.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/ResizeRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/EnableFeaturesRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/EnableFeaturesRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_kms.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/SnapshotCreateRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/SnapshotCreateRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bit_vector.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/SnapshotCreateRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/SnapshotRollbackRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/SnapshotRollbackRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/UnlockRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_client.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/UnlockRequest.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotProtectRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_iam_policy.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/FlattenRequest.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/FlattenRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/DisableFeaturesRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/DisableFeaturesRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotRemoveRequest.cc.o In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/Request.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/UpdateRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/UpdateRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthServiceHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthServiceHandler.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub.cc: In member function 'virtual int RGWPSCreateTopic_ObjStore_AWS::get_params()': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub.cc:43:21: warning: loop variable 'param' creates a copy from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 43 | for (const auto param : s->info.args.get_params()) { | ^~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub.cc:43:21: note: use reference type to prevent copying 43 | for (const auto param : s->info.args.get_params()) { | ^~~~~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub.cc: In member function 'void RGWHandler_REST_PSTopic_AWS::rgw_topic_parse_input()': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub.cc:344:23: warning: loop variable 'attr' creates a copy from type 'const std::pair' [-Wrange-loop-construct] 344 | for (const auto attr : map) { | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_pubsub.cc:344:23: note: use reference type to prevent copying 344 | for (const auto attr : map) { | ^~~~ | & In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/DisableFeaturesRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotRenameRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/MetadataRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/MetadataRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_url.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user_policy.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthServiceHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxServiceHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxServiceHandler.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotRollbackRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/bit_vector.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/object_map/RefreshRequest.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_oidc_provider.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotUnprotectRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/MetadataSetRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/MetadataSetRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object src/mon/CMakeFiles/mon.dir/OSDMonitor.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_role.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bitset:47, from /usr/include/c++/12/regex:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_amqp.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_amqp.cc:5: /usr/include/amqp.h:7:2: warning: #warning "amqp.h is deprecated, use rabbitmq-c/amqp.h instead." [-Wcpp] 7 | #warning "amqp.h is deprecated, use rabbitmq-c/amqp.h instead." | ^~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_amqp.cc:6: /usr/include/amqp_tcp_socket.h:7:2: warning: #warning "amqp_tcp_socket.h is deprecated, use rabbitmq-c/tcp_socket.h instead." [-Wcpp] 7 | #warning "amqp_tcp_socket.h is deprecated, use rabbitmq-c/tcp_socket.h instead." | ^~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_amqp.cc:7: /usr/include/amqp_framing.h:8:2: warning: #warning "amqp_framing.h is deprecated, use rabbitmq-c/framing.h instead. [-Wcpp] 8 | #warning "amqp_framing.h is deprecated, use rabbitmq-c/framing.h instead. | ^~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 72%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_kafka.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotLimitRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SparsifyRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:3, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_s3.cc:39: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h: In member function 'const T& picojson::value::get() const [with T = double]': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:374:12: note: in definition of macro 'GET' 374 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h: In member function 'T& picojson::value::get() [with T = double]': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:378:12: note: in definition of macro 'GET' 378 | return var; \ | ^~~ [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/TrimRequest.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/trash/MoveRequest.cc.o [ 72%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/trash/RemoveRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 72%] Building CXX object src/mon/CMakeFiles/mon.dir/MDSMonitor.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/RenameRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/RenameRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 72%] Building CXX object src/mon/CMakeFiles/mon.dir/CommandHandler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 73%] Building CXX object src/mon/CMakeFiles/mon.dir/FSCommands.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/MigrateRequest.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/MigrateRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 73%] Building CXX object src/mon/CMakeFiles/mon.dir/MgrMonitor.cc.o [ 73%] Building CXX object src/mon/CMakeFiles/mon.dir/MgrStatMonitor.cc.o [ 74%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/watcher/Notifier.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 74%] Linking CXX static library ../../lib/libclient.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotCreateRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotCreateRequest.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotCreateRequest.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_iam_policy.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 74%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/watcher/RewatchRequest.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/ObjectMapIterate.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/ObjectMapIterate.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/ObjectMapIterate.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/RebuildObjectMapRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/RebuildObjectMapRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/ObjectMapIterate.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_iam.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/RebuildObjectMapRequest.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 74%] Built target client [ 74%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/__/common/ContextCompletion.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_oidc_provider.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/ResizeRequest.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/ResizeRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bitset:47, from /usr/include/c++/12/regex:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user_policy.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tools.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 74%] Building CXX object src/os/CMakeFiles/os.dir/ObjectStore.cc.o [ 74%] Building CXX object src/os/CMakeFiles/os.dir/Transaction.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 74%] Building CXX object src/os/CMakeFiles/os.dir/filestore/chain_xattr.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/Monitor.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/LogMonitor.cc.o [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/MonmapMonitor.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_crypt.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_kms.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/AuthMonitor.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/ConfigMap.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotCreateRequest.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotRemoveRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotRemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/ConfigMonitor.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/Elector.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotProtectRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotProtectRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 74%] Building CXX object src/os/CMakeFiles/os.dir/filestore/BtrfsFileStoreBackend.cc.o [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/ElectionLogic.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/HealthMonitor.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotRenameRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotRenameRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/ConfigKeyService.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/utility/string_view.hpp:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:22: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void* maybe_inline_memcpy(void*, const void*, size_t, size_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/inline_memory.h:28:18, inlined from 'std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/StackStringStream.h:65:26, inlined from 'std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12/streambuf:456:28, inlined from 'bool boost::io::detail::buffer_fill(std::basic_streambuf&, charT, std::size_t) [with charT = char; traits = std::char_traits]' at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash/RemoveRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash/RemoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash/RemoveRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash/MoveRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash/MoveRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotRollbackRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotRollbackRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash/MoveRequest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/RewatchRequest.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/RewatchRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/RewatchRequest.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 74%] Building CXX object src/os/CMakeFiles/os.dir/filestore/DBObjectMap.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_oidc_provider.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bitset:47, from /usr/include/c++/12/regex:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_oidc_provider.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotUnprotectRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotUnprotectRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/__/mds/MDSAuthCaps.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_amqp.cc: In function 'std::string rgw::amqp::to_string(amqp_status_enum)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_amqp.cc:254:10: warning: enumeration value 'AMQP_STATUS_SSL_SET_ENGINE_FAILED' not handled in switch [-Wswitch] 254 | switch (s) { | ^ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/iterator/iterator_categories.hpp:23, from /usr/include/boost/iterator/iterator_adaptor.hpp:14, from /usr/include/boost/token_iterator.hpp:22, from /usr/include/boost/tokenizer.hpp:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_iam.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 74%] Building CXX object src/mon/CMakeFiles/mon.dir/__/mgr/mgr_commands.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 75%] Building CXX object src/mon/CMakeFiles/mon.dir/__/osd/OSDCap.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotLimitRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SnapshotLimitRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_oidc_provider.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/FileJournal.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/FileStore.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SparsifyRequest.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/SparsifyRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Journal.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/Request.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/JournalThrottle.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tools.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/TrimRequest.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/TrimRequest.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/AsyncRequest.h:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/str_map.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_kms.cc:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrBeacon.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMonitor.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/iterator/iterator_categories.hpp:23, from /usr/include/boost/iterator/iterator_adaptor.hpp:14, from /usr/include/boost/token_iterator.hpp:22, from /usr/include/boost/tokenizer.hpp:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMonitor.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/operation/TrimRequest.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash/RemoveRequest.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/trash/MoveRequest.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrStatMonitor.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrStatMonitor.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrStatMonitor.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/GenericFileStoreBackend.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/Notifier.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/Notifier.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/Notifier.h:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/JournalingObjectStore.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/watcher/Notifier.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/HashIndex.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/IndexManager.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/LFNIndex.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:3, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h: In member function 'const T& picojson::value::get() const [with T = double]': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:374:12: note: in definition of macro 'GET' 374 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h: In member function 'T& picojson::value::get() [with T = double]': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:378:12: note: in definition of macro 'GET' 378 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user_policy.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/filestore/WBThrottle.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ [ 76%] Building C object src/os/CMakeFiles/os.dir/filestore/os_xattr.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/memstore/MemStore.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/kstore/KStore.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosFSMap.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MDSMonitor.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MDSMonitor.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bitset:47, from /usr/include/c++/12/regex:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MDSMonitor.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user_policy.cc:153:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 76%] Building CXX object src/os/CMakeFiles/os.dir/kstore/kstore_types.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 76%] Building CXX object src/os/CMakeFiles/os.dir/fs/FS.cc.o [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/Allocator.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/FSCommands.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.h:24: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user_policy.cc:153:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BitmapFreelistManager.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlockDevice.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlueFS.cc.o [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/bluefs_types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/GenericFileStoreBackend.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/BtrfsFileStoreBackend.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/BtrfsFileStoreBackend.cc:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/BtrfsFileStoreBackend.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlueRocksEnv.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlueStore.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/bluestore_types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:112: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/fastbmap_allocator_impl.cc.o [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/FreelistManager.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/ConfigMonitor.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/algorithm/string/predicate.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/ConfigMonitor.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/StupidAllocator.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:3, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_iam.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h: In member function 'const T& picojson::value::get() const [with T = double]': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:374:12: note: in definition of macro 'GET' 374 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h: In member function 'T& picojson::value::get() [with T = double]': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:386:116: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 386 | (type_ == int64_type && (const_cast(this)->type_ = number_type, const_cast(this)->u_.number_ = u_.int64_), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/picojson/picojson.h:378:12: note: in definition of macro 'GET' 378 | return var; \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonmapMonitor.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonmapMonitor.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonmapMonitor.h:22: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BitmapAllocator.cc.o [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/AvlAllocator.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/HealthMonitor.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/HealthMonitor.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/LogMonitor.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/LogMonitor.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/algorithm/string/predicate.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/LogMonitor.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/ConfigKeyService.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/ConfigKeyService.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 77%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/HybridAllocator.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 78%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/io_uring.cc.o In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSAuthCaps.cc:20: /usr/include/boost/spirit/include/phoenix_operator.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/DBObjectMap.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/DBObjectMap.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/DBObjectMap.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.cc:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /usr/include/c++/12/iterator:61, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/AuthMonitor.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/AuthMonitor.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDCap.cc:16: /usr/include/boost/spirit/include/phoenix_operator.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 78%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/KernelDevice.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_oidc_provider.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 78%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/aio.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying [ 78%] Building CXX object src/os/CMakeFiles/os.dir/FuseStore.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/Journal.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileJournal.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileJournal.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileJournal.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 78%] Building CXX object src/os/CMakeFiles/os.dir/filestore/XfsFileStoreBackend.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.cc:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.cc:34: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/WBThrottle.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/WBThrottle.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/unordered_map.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/WBThrottle.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/kstore_types.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/kstore_types.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/kstore_types.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MDSMonitor.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 78%] Building CXX object src/os/CMakeFiles/os.dir/fs/XFS.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/optional/optional.hpp:36, from /usr/include/boost/optional.hpp:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:25: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void* maybe_inline_memcpy(void*, const void*, size_t, size_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/inline_memory.h:28:18, inlined from 'std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/StackStringStream.h:65:26, inlined from 'std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12/streambuf:456:28, inlined from 'bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]' at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/kstore_types.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/kstore_types.cc:55:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/kstore_types.cc:55:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/Allocator.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/Allocator.h:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/JournalingObjectStore.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/JournalingObjectStore.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/FreelistManager.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BitmapFreelistManager.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BitmapFreelistManager.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/FreelistManager.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/GenericFileStoreBackend.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/GenericFileStoreBackend.cc:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/GenericFileStoreBackend.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlockDevice.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlockDevice.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlockDevice.h:21: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluefs_types.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluefs_types.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/fastbmap_allocator_impl.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/fastbmap_allocator_impl.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/fastbmap_allocator_impl.h:13: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_oidc_provider.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/CollectionIndex.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/IndexManager.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/IndexManager.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/unordered_map.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/IndexManager.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueFS.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueFS.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueFS.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/StupidAllocator.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/StupidAllocator.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/StupidAllocator.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BitmapAllocator.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BitmapAllocator.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BitmapAllocator.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectMap.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/DBObjectMap.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.cc:33:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/AvlAllocator.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/AvlAllocator.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/AvlAllocator.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/string.h:535, from /usr/include/boost/range/detail/implementation_help.hpp:18, from /usr/include/boost/range/end.hpp:20, from /usr/include/boost/algorithm/string/predicate.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.cc:11: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void* maybe_inline_memcpy(void*, const void*, size_t, size_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/inline_memory.h:28:18, inlined from 'std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/StackStringStream.h:65:26, inlined from 'std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12/streambuf:456:28, inlined from 'bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]' at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/FreelistManager.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/FreelistManager.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/FreelistManager.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.cc:33:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/KStore.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/KStore.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/KStore.h:23: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/Allocator.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/AvlAllocator.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/HybridAllocator.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/HybridAllocator.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/HybridAllocator.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileJournal.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/memstore/MemStore.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/memstore/MemStore.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/memstore/MemStore.cc:24: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDCap.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDCap.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /usr/include/boost/fusion/support/detail/as_fusion_element.hpp:15, from /usr/include/boost/fusion/algorithm/transformation/push_back.hpp:11, from /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:21, from /usr/include/boost/fusion/view/iterator_range/detail/segments_impl.hpp:14, from /usr/include/boost/fusion/view/iterator_range/iterator_range.hpp:22, from /usr/include/boost/fusion/view/iterator_range.hpp:11, from /usr/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:13, from /usr/include/boost/fusion/sequence/intrinsic/begin.hpp:18, from /usr/include/boost/fusion/container/list/cons.hpp:16, from /usr/include/boost/fusion/include/cons.hpp:11, from /usr/include/boost/spirit/home/support/detail/make_cons.hpp:16, from /usr/include/boost/spirit/home/support/make_component.hpp:15, from /usr/include/boost/spirit/home/support/meta_compiler.hpp:17, from /usr/include/boost/spirit/home/qi/meta_compiler.hpp:14, from /usr/include/boost/spirit/home/qi/action/action.hpp:14, from /usr/include/boost/spirit/home/qi/action.hpp:14, from /usr/include/boost/spirit/home/qi.hpp:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/FreelistManager.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/KernelDevice.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/KernelDevice.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/KernelDevice.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/IndexManager.h:25: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.cc:31: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/IndexManager.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 78%] Linking CXX static library ../../lib/librbd_internal.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/Allocator.h:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = btree::btree_map, mempool::pool_allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/StupidAllocator.cc:47:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/ceph_aio.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlockDevice.h:34: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonmapMonitor.h:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueFS.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueRocksEnv.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueRocksEnv.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueRocksEnv.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/FreelistManager.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:22: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/HealthMonitor.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:645:5: required from 'void interval_set::union_of(const interval_set&, const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:654:13: required from 'void interval_set::union_of(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:659:13: required from 'void interval_set::union_insert(T, T) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {int, health_check_map_t, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/HealthMonitor.cc:118:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, int, health_check_map_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, int, health_check_map_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_mute_t>; C = std::map; Details = _denc::maplike_details, health_mute_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_mute_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_mute_t> >}; container = std::map, health_mute_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, health_mute_t>; traits = denc_traits, health_mute_t>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/HealthMonitor.cc:125:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_mute_t> >, std::__cxx11::basic_string, std::allocator >, health_mute_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_mute_t> > >::T&' {aka 'const std::pair, health_mute_t>&'} binds to a temporary constructed from type 'const std::pair, health_mute_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_mute_t> >, std::__cxx11::basic_string, std::allocator >, health_mute_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_mute_t> > >::T' {aka 'const std::pair, health_mute_t>'} to make the copy explicit or 'const std::pair, health_mute_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/FuseStore.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/FuseStore.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/FuseStore.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/optional/optional.hpp:36, from /usr/include/boost/optional.hpp:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:25: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void* maybe_inline_memcpy(void*, const void*, size_t, size_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/inline_memory.h:28:18, inlined from 'std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/StackStringStream.h:65:26, inlined from 'std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12/streambuf:456:28, inlined from 'bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]' at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/RocksDBStore.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueRocksEnv.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_common.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueFS.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueFS.cc:369:40: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueFS.cc:384:26: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/KernelDevice.cc:754:25: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/KStore.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/LogMonitor.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {int, health_check_map_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {int, health_check_map_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/HealthMonitor.cc:118:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, int, health_check_map_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, int, health_check_map_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_mute_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_mute_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_mute_t> >}; container = std::map, health_mute_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_mute_t>; C = std::map; Details = _denc::maplike_details, health_mute_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_mute_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_mute_t> >}; container = std::map, health_mute_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, health_mute_t>; traits = denc_traits, health_mute_t>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/HealthMonitor.cc:125:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_mute_t> >, std::__cxx11::basic_string, std::allocator >, health_mute_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_mute_t> > >::T&' {aka 'const std::pair, health_mute_t>&'} binds to a temporary constructed from type 'const std::pair, health_mute_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_mute_t> >, std::__cxx11::basic_string, std::allocator >, health_mute_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_mute_t> > >::T' {aka 'const std::pair, health_mute_t>'} to make the copy explicit or 'const std::pair, health_mute_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Finisher.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/KStore.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/GenericFileStoreBackend.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/XfsFileStoreBackend.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/XfsFileStoreBackend.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/kstore/KStore.cc:1327:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/memstore/MemStore.cc:342:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MDSMonitor.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/FuseStore.h:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/chain_xattr.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.cc:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/AuthMonitor.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.cc:3587:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:42: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDCap.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /usr/include/string.h:535, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_s3.cc:6: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void* maybe_inline_memcpy(void*, const void*, size_t, size_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/inline_memory.h:28:18, inlined from 'std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/StackStringStream.h:65:26, inlined from 'std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12/streambuf:456:28, inlined from 'bool boost::io::detail::buffer_fill(std::basic_streambuf<_CharT, _Traits>&, charT, std::size_t) [with charT = char; traits = std::char_traits]' at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.cc:2224:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_common.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:6434:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, std::allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > > >; traits = denc_traits, mempool::pool_allocator > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.cc:1900:14: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, std::allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, std::allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.cc:2012:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.cc:2224:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, std::allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, std::allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > > >; traits = denc_traits, mempool::pool_allocator > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.cc:1900:14: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, std::allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, std::allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/OSDMonitor.cc:2012:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:5978:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 78%] Built target rbd_internal [ 78%] Linking CXX static library ../../lib/libmds.a [ 78%] Built target rgw_common In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree_set.h:49, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:24: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1698:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const long unsigned int&}; Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, mempool::pool_allocator >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function 'T* mempool::pool_allocator::allocate(size_t, void*) [with mempool::pool_index_t pool_ix = mempool::mempool_bluestore_fsck; T = btree::internal::AlignedAlloc<8, mempool::pool_allocator >::M]', inlined from 'static std::allocator_traits< >::pointer std::allocator_traits< >::allocate(_Alloc&, size_type) [with _Alloc = mempool::pool_allocator >::M>]' at /usr/include/c++/12/bits/alloc_traits.h:318:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = mempool::pool_allocator]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const long unsigned int&}; Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:338:33: note: at offset 256 into object of size [32, 256] allocated by 'operator new []' 338 | T* r = reinterpret_cast(new char[total]); | ^~~~~~~~~~~~~~~ In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1697:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const long unsigned int&}; Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, mempool::pool_allocator >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function 'T* mempool::pool_allocator::allocate(size_t, void*) [with mempool::pool_index_t pool_ix = mempool::mempool_bluestore_fsck; T = btree::internal::AlignedAlloc<8, mempool::pool_allocator >::M]', inlined from 'static std::allocator_traits< >::pointer std::allocator_traits< >::allocate(_Alloc&, size_type) [with _Alloc = mempool::pool_allocator >::M>]' at /usr/include/c++/12/bits/alloc_traits.h:318:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = mempool::pool_allocator]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const long unsigned int&}; Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:338:33: note: at offset 256 into object of size [32, 256] allocated by 'operator new []' 338 | T* r = reinterpret_cast(new char[total]); | ^~~~~~~~~~~~~~~ In member function 'void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:526:14, inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1708:26, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const long unsigned int&}; Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, mempool::pool_allocator >::M [32]' [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function 'T* mempool::pool_allocator::allocate(size_t, void*) [with mempool::pool_index_t pool_ix = mempool::mempool_bluestore_fsck; T = btree::internal::AlignedAlloc<8, mempool::pool_allocator >::M]', inlined from 'static std::allocator_traits< >::pointer std::allocator_traits< >::allocate(_Alloc&, size_type) [with _Alloc = mempool::pool_allocator >::M>]' at /usr/include/c++/12/bits/alloc_traits.h:318:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = mempool::pool_allocator]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const long unsigned int&}; Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:338:33: note: at offset 256 into object of size [32, 256] allocated by 'operator new []' 338 | T* r = reinterpret_cast(new char[total]); | ^~~~~~~~~~~~~~~ In member function 'btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1703:36, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const long unsigned int&}; Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, mempool::pool_allocator >::M [32]' [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function 'T* mempool::pool_allocator::allocate(size_t, void*) [with mempool::pool_index_t pool_ix = mempool::mempool_bluestore_fsck; T = btree::internal::AlignedAlloc<8, mempool::pool_allocator >::M]', inlined from 'static std::allocator_traits< >::pointer std::allocator_traits< >::allocate(_Alloc&, size_type) [with _Alloc = mempool::pool_allocator >::M>]' at /usr/include/c++/12/bits/alloc_traits.h:318:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = mempool::pool_allocator]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const long unsigned int&}; Params = btree::internal::set_params, mempool::pool_allocator, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:338:33: note: at offset 256 into object of size [32, 256] allocated by 'operator new []' 338 | T* r = reinterpret_cast(new char[total]); | ^~~~~~~~~~~~~~~ [ 78%] Built target mds In file included from /usr/include/c++/12/bits/shared_ptr_atomic.h:33, from /usr/include/c++/12/memory:78, from /usr/include/boost/function/function_base.hpp:16, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function.hpp:30, from /usr/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /usr/include/boost/algorithm/string/find_iterator.hpp:24, from /usr/include/boost/algorithm/string/iter_find.hpp:27, from /usr/include/boost/algorithm/string/split.hpp:16, from /usr/include/boost/algorithm/string.hpp:23: In member function 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++() [with _ITp = long unsigned int]', inlined from 'void BlueStore::BufferCacheShard::add_extent()' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:1247:7, inlined from 'void BlueStore::Extent::assign_blob(const BlueStore::BlobRef&)' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:724:49, inlined from 'unsigned int BlueStore::ExtentMap::decode_some(ceph::bufferlist&)' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:3131:22: /usr/include/c++/12/bits/atomic_base.h:385:34: warning: 'long unsigned int __atomic_add_fetch_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 385 | { return __atomic_add_fetch(&_M_i, 1, int(memory_order_seq_cst)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++() [with _ITp = long unsigned int]', inlined from 'void BlueStore::BufferCacheShard::add_extent()' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:1247:7, inlined from 'void BlueStore::Extent::assign_blob(const BlueStore::BlobRef&)' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:724:49, inlined from 'unsigned int BlueStore::ExtentMap::decode_some(ceph::bufferlist&)' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:3143:17: /usr/include/c++/12/bits/atomic_base.h:385:34: warning: 'long unsigned int __atomic_add_fetch_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 385 | { return __atomic_add_fetch(&_M_i, 1, int(memory_order_seq_cst)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In member function 'std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::operator++() [with _ITp = long unsigned int]', inlined from 'void BlueStore::BufferCacheShard::add_extent()' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:1247:7, inlined from 'void BlueStore::Extent::assign_blob(const BlueStore::BlobRef&)' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:724:49, inlined from 'unsigned int BlueStore::ExtentMap::decode_some(ceph::bufferlist&)' at /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.cc:3131:22: /usr/include/c++/12/bits/atomic_base.h:385:34: warning: 'long unsigned int __atomic_add_fetch_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 385 | { return __atomic_add_fetch(&_M_i, 1, int(memory_order_seq_cst)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 78%] Built target common-common-objs [ 78%] Linking CXX static library ../lib/libcommon.a [ 78%] Linking CXX shared library ../lib/libceph-common.so [ 78%] Built target ceph-common [ 78%] Linking CXX static library ../../lib/libglobal.a [ 78%] Building CXX object src/CMakeFiles/cephfs.dir/libcephfs.cc.o [ 78%] Building CXX object src/librados/CMakeFiles/librados.dir/librados_c.cc.o [ 78%] Building CXX object src/librados/CMakeFiles/librados.dir/librados_cxx.cc.o [ 78%] Built target global [ 78%] Building CXX object src/tools/CMakeFiles/monmaptool.dir/monmaptool.cc.o [ 78%] Building CXX object src/tools/CMakeFiles/ceph-conf.dir/ceph_conf.cc.o [ 78%] Building CXX object src/tools/erasure-code/CMakeFiles/ceph-erasure-code-tool.dir/__/__/osd/ECUtil.cc.o [ 78%] Building CXX object src/tools/erasure-code/CMakeFiles/ceph-erasure-code-tool.dir/ceph-erasure-code-tool.cc.o [ 78%] Building CXX object src/tools/CMakeFiles/ceph-authtool.dir/ceph_authtool.cc.o [ 78%] Building CXX object src/tools/CMakeFiles/osdmaptool.dir/osdmaptool.cc.o [ 78%] Building CXX object src/tools/CMakeFiles/crushtool.dir/crushtool.cc.o [ 78%] Building C object src/mount/CMakeFiles/mount.ceph.dir/mount.ceph.c.o [ 78%] Building CXX object src/mount/CMakeFiles/mount.ceph.dir/conf.cc.o [ 78%] Linking CXX static library ../../lib/libos.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_authtool.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_cxx.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_cxx.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/AioCompletionImpl.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_cxx.cc:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/AioCompletionImpl.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_c.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_c.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/AioCompletionImpl.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/AioCompletionImpl.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/crushtool.cc:35: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/fstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/crushtool.cc:23: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/mount/conf.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/osdmaptool.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/osdmaptool.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_conf.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_conf.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/monmaptool.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/libcephfs.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/libcephfs.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 78%] Linking CXX executable ../../bin/ceph-authtool [ 78%] Built target ceph-authtool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/crushtool.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/tools/osdmaptool.cc: In function 'int main(int, const char**)': /builddir/build/BUILD/dsms-storage-v1.0/src/tools/osdmaptool.cc:425:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 425 | int r = clock_gettime(CLOCK_MONOTONIC, &round_start); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 78%] Linking CXX executable ../../bin/mount.ceph /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 78%] Built target mount.ceph /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/osdmaptool.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 78%] Built target common [ 78%] Linking CXX static library ../../lib/libglobal-static.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying [ 78%] Built target global-static /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 79%] Building CXX object src/CMakeFiles/ceph-syn.dir/client/SyntheticClient.cc.o [ 79%] Building CXX object src/CMakeFiles/ceph-mds.dir/ceph_mds.cc.o [ 79%] Building CXX object src/CMakeFiles/ceph-syn.dir/ceph_syn.cc.o [ 79%] Building CXX object src/CMakeFiles/ceph-fuse.dir/ceph_fuse.cc.o [ 79%] Building CXX object src/CMakeFiles/ceph-fuse.dir/client/fuse_ll.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/__/ceph_mgr.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/__/mon/PGMap.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ActivePyModules.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ActivePyModule.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/BaseMgrStandbyModule.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/BaseMgrModule.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ClusterState.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonHealthMetricCollector.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonKey.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonServer.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonState.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/MetricCollector.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/OSDPerfMetricTypes.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyModuleRegistry.cc.o [ 79%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/OSDPerfMetricCollector.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/Mgr.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/Gil.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyModuleRunner.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/MgrStandby.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/mgr_commands.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/StandbyPyModules.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyOSDMap.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyFormatter.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyUtil.cc.o [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyModule.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 80%] Linking CXX executable ../../bin/monmaptool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying [ 80%] Linking CXX executable ../../../bin/ceph-erasure-code-tool [ 80%] Built target monmaptool [ 80%] Built target ceph-erasure-code-tool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 80%] Built target os /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 80%] Building CXX object src/os/CMakeFiles/ceph-bluestore-tool.dir/bluestore/bluestore_tool.cc.o [ 80%] Building CXX object src/osd/CMakeFiles/osd.dir/ClassHandler.cc.o [ 80%] Building CXX object src/osd/CMakeFiles/osd.dir/Watch.cc.o [ 80%] Building CXX object src/osd/CMakeFiles/osd.dir/OSD.cc.o [ 80%] Building CXX object src/tools/CMakeFiles/ceph-osdomap-tool.dir/ceph_osdomap_tool.cc.o [ 80%] Building CXX object src/tools/CMakeFiles/ceph-kvstore-tool.dir/ceph_kvstore_tool.cc.o [ 80%] Building CXX object src/osd/CMakeFiles/osd.dir/PG.cc.o [ 80%] Building CXX object src/tools/CMakeFiles/ceph-kvstore-tool.dir/kvstore_tool.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/PGLog.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/PrimaryLogPG.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/ReplicatedBackend.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/ECBackend.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/ECTransaction.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/ScrubStore.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/Session.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/OSDCap.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/PGBackend.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/SnapMapper.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/osd_types.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/ExtentCache.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/ECUtil.cc.o [ 81%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/OpScheduler.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/OpSchedulerItem.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/PeeringState.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/mClockScheduler.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/PGStateUtils.cc.o [ 82%] Building CXX object src/tools/CMakeFiles/ceph-monstore-tool.dir/ceph_monstore_tool.cc.o [ 82%] Building CXX object src/tools/CMakeFiles/ceph-monstore-tool.dir/__/mgr/mgr_commands.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/osd_perf_counters.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/MissingLoc.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/__/common/TrackedOp.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/__/mgr/OSDPerfMetricTypes.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/__/osdc/Objecter.cc.o [ 82%] Building CXX object src/osd/CMakeFiles/osd.dir/__/osdc/Striper.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_conf.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/health.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonHealthMetricCollector.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/libcephfs.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ExtentCache.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ExtentCache.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ExtentCache.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModule.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRunner.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricCollector.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:27:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDMetricPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:25:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:27:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDMetricPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:25:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/algorithm/string/std/string_traits.hpp:15, from /usr/include/boost/algorithm/string/std_containers_traits.hpp:19, from /usr/include/boost/algorithm/string.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModule.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricCollector.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrStandby.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mgr.cc:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /usr/include/python3.10/pyport.h:210, from /usr/include/python3.10/Python.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mgr.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGLog.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGLog.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGLog.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:583:11: required from 'void ceph::encode(const boost::optional&, bufferlist&) [with T = std::map, std::__cxx11::basic_string >; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:155:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/SyntheticClient.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_syn.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_syn.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/kvstore_tool.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_kvstore_tool.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_kvstore_tool.cc:13: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluefs_types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueFS.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_tool.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/boost/any/bad_any_cast.hpp:21, from /usr/include/boost/any.hpp:18, from /usr/include/boost/program_options/variables_map.hpp:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_tool.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/SnapMapper.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ScrubStore.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ScrubStore.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/SnapMapper.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:583:11: required from 'void ceph::encode(const boost::optional&, bufferlist&) [with T = std::map, std::__cxx11::basic_string >; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:155:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.h:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/MissingLoc.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/MissingLoc.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/MissingLoc.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_fuse.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_fuse.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonClient.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/StandbyPyModules.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/BaseMgrStandbyModule.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/Mgr.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /usr/include/python3.10/pyport.h:210, from /usr/include/python3.10/Python.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/Mgr.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/SyntheticClient.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/SyntheticClient.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/SyntheticClient.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/Mgr.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyOSDMap.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /usr/include/python3.10/pyport.h:210, from /usr/include/python3.10/Python.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/Mgr.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonMgrReport.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ClusterState.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrDigest.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ClusterState.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGBackend.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ReplicatedBackend.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ReplicatedBackend.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ReplicatedBackend.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/assert/source_location.hpp:15, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/polymorphic_cast.hpp:61, from /usr/include/boost/statechart/custom_reaction.hpp:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 82%] Linking CXX executable ../../bin/crushtool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Session.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/assert/source_location.hpp:15, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/polymorphic_cast.hpp:61, from /usr/include/boost/statechart/custom_reaction.hpp:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.cc:17: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSMap.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSDaemon.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mds.cc:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mds.cc:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModule.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.cc:38: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/fstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGPeeringEvent.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PeeringState.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /usr/include/boost/config/no_tr1/functional.hpp:21, from /usr/include/boost/smart_ptr/intrusive_ptr.hpp:24, from /usr/include/boost/intrusive_ptr.hpp:16, from /usr/include/boost/statechart/event_base.hpp:15, from /usr/include/boost/statechart/event.hpp:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGPeeringEvent.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/Mgr.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/BaseMgrModule.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /usr/include/python3.10/pyport.h:210, from /usr/include/python3.10/Python.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/BaseMgrModule.cc:21: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/fuse_ll.cc:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/fuse_ll.cc:28: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonState.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonState.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 82%] Built target crushtool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_monstore_tool.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/boost/any/bad_any_cast.hpp:21, from /usr/include/boost/any.hpp:18, from /usr/include/boost/program_options/variables_map.hpp:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_monstore_tool.cc:13: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:38: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/DBObjectMap.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_osdomap_tool.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/boost/any/bad_any_cast.hpp:21, from /usr/include/boost/any.hpp:18, from /usr/include/boost/program_options/variables_map.hpp:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_osdomap_tool.cc:13: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrBeacon.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrStandby.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /usr/include/python3.10/pyport.h:210, from /usr/include/python3.10/Python.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrStandby.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:583:11: required from 'void ceph::encode(const boost::optional&, bufferlist&) [with T = std::map, std::__cxx11::basic_string >; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:155:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/SnapMapper.h:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/SnapMapper.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/SnapMapper.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDCap.cc:16: /usr/include/boost/spirit/include/phoenix_operator.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECTransaction.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECTransaction.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECTransaction.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.cc:2: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/assert/source_location.hpp:15, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/polymorphic_cast.hpp:61, from /usr/include/boost/statechart/custom_reaction.hpp:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PrimaryLogPG.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /usr/include/boost/config/no_tr1/functional.hpp:21, from /usr/include/boost/smart_ptr/intrusive_ptr.hpp:24, from /usr/include/boost/intrusive_ptr.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PrimaryLogPG.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpScheduler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpScheduler.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpScheduler.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:583:11: required from 'void ceph::encode(const boost::optional&, bufferlist&) [with T = std::map, std::__cxx11::basic_string >; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:155:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/scrub_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGBackend.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGBackend.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/histogram.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpScheduler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/mClockScheduler.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/mClockScheduler.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/mClockScheduler.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1698:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1697:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:526:14, inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1708:26, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1703:36, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 82%] Linking CXX executable ../../bin/ceph-conf In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECBackend.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECBackend.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECBackend.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonServer.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonServer.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModule.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 82%] Built target ceph-conf In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/map_cacher.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/SnapMapper.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_kvstore_tool.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/Mgr.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/kvstore_tool.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/kvstore_tool.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/kvstore_tool.h:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:48, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_tool.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/kv/KeyValueDB.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectMap.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/DBObjectMap.h:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 82%] Linking CXX static library ../../lib/libmon.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPoolOp.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.cc:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/StandbyPyModules.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/StandbyPyModules.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/StandbyPyModules.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrContext.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModule.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonServer.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/Mgr.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonCommand.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSDaemon.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc: In constructor 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:46: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 155 | snprintf(lock_name, sizeof(lock_name), "%s:%" PRIu32, "OpTracker::ShardedLock", i); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:46: note: directive argument in the range [0, 4294967294] In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3960, from /usr/include/c++/12/string:53, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_mutex.h:116, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.h:18: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'OpTracker::OpTracker(ceph::common::CephContext*, bool, uint32_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/TrackedOp.cc:155:15: /usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 25 and 34 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_op_util.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OpRequest.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDCap.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDCap.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /usr/include/boost/fusion/support/detail/as_fusion_element.hpp:15, from /usr/include/boost/fusion/algorithm/transformation/push_back.hpp:11, from /usr/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp:21, from /usr/include/boost/fusion/view/iterator_range/detail/segments_impl.hpp:14, from /usr/include/boost/fusion/view/iterator_range/iterator_range.hpp:22, from /usr/include/boost/fusion/view/iterator_range.hpp:11, from /usr/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:13, from /usr/include/boost/fusion/sequence/intrinsic/begin.hpp:18, from /usr/include/boost/fusion/container/list/cons.hpp:16, from /usr/include/boost/fusion/include/cons.hpp:11, from /usr/include/boost/spirit/home/support/detail/make_cons.hpp:16, from /usr/include/boost/spirit/home/support/make_component.hpp:15, from /usr/include/boost/spirit/home/support/meta_compiler.hpp:17, from /usr/include/boost/spirit/home/qi/meta_compiler.hpp:14, from /usr/include/boost/spirit/home/qi/action/action.hpp:14, from /usr/include/boost/spirit/home/qi/action.hpp:14, from /usr/include/boost/spirit/home/qi.hpp:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/map_cacher.hpp:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/SnapMapper.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:645:5: required from 'void interval_set::union_of(const interval_set&, const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:654:13: required from 'void interval_set::union_of(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:659:13: required from 'void interval_set::union_insert(T, T) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ReplicatedBackend.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:4517:24: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:4532:21: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/health.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.cc:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/global/global_init.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_tool.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonServer.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/Mgr.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_tool.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, store_statfs_t>; C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; traits = denc_traits, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:1528:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T&' {aka 'const std::pair, store_statfs_t>&'} binds to a temporary constructed from type 'const std::pair, store_statfs_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T' {aka 'const std::pair, store_statfs_t>'} to make the copy explicit or 'const std::pair, store_statfs_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {long int, long int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {long int, long int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:72:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, long int, long int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, long int, long int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {int, long int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {int, long int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:78:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, int, long int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, int, long int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::less, mempool::pool_allocator > > > >, long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, store_statfs_t>; C = std::map; Details = _denc::maplike_details, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >; Ts = {std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> >}; container = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >; traits = denc_traits, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:1528:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T&' {aka 'const std::pair, store_statfs_t>&'} binds to a temporary constructed from type 'const std::pair, store_statfs_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > > >, std::pair, store_statfs_t, std::less >, mempool::pool_allocator, store_statfs_t> > >::T' {aka 'const std::pair, store_statfs_t>'} to make the copy explicit or 'const std::pair, store_statfs_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/fuse_ll.cc:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:528:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:1909:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:2011:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::map, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::map, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5576:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5578:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > > >; Ts = {int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:528:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > > >, int, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:1909:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::map, std::__cxx11::basic_string > >; C = std::map; Details = _denc::maplike_details, std::map, std::__cxx11::basic_string > > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > >}; container = std::map, std::map, std::__cxx11::basic_string > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::map, std::__cxx11::basic_string > >; traits = denc_traits, std::map, std::__cxx11::basic_string > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:2011:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T&' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >&'} binds to a temporary constructed from type 'const std::pair, std::map, std::__cxx11::basic_string > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::map, std::__cxx11::basic_string > > >, std::__cxx11::basic_string, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >, std::less, std::allocator > >, std::allocator, std::allocator >, std::map, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > > > >::T' {aka 'const std::pair, std::map, std::__cxx11::basic_string > >'} to make the copy explicit or 'const std::pair, std::map, std::__cxx11::basic_string > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {unsigned int, int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {unsigned int, int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:4677:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, unsigned int, int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, unsigned int, int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5576:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, snapid_t, interval_set, std::allocator > > >, std::less, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {snapid_t, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {snapid_t, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5577:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, snapid_t, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, snapid_t, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {snapid_t, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:5578:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, snapid_t, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_syn.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpSchedulerItem.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mgr.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_monstore_tool.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 82%] Linking CXX executable ../../bin/osdmaptool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECBackend.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGBackend.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = interval_set; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details, std::less, mempool::pool_allocator > > > >; Ts = {long int, interval_set, std::allocator > > >, std::less, mempool::pool_allocator, std::allocator > > > > >}; container = std::map, std::less, mempool::pool_allocator > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::less, mempool::pool_allocator > > >; traits = denc_traits, std::less, mempool::pool_allocator > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:80:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {snapid_t, snapid_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:364:36: required from 'void interval_set::encode_nohead(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:758:20: required from 'static void denc_traits >::encode_nohead(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1627:24: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode_nohead(const T&, buffer::v15_2_0::list&) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:1849:18: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, snapid_t, snapid_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:645:5: required from 'void interval_set::union_of(const interval_set&, const interval_set&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:654:13: required from 'void interval_set::union_of(const interval_set&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:659:13: required from 'void interval_set::union_insert(T, T) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 82%] Built target osdmaptool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.cc:4576:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 82%] Built target mon /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 83%] Building CXX object src/CMakeFiles/ceph-mon.dir/ceph_mon.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = snapid_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PeeringState.cc:2411:21: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 84%] Linking CXX executable ../../bin/ceph-osdomap-tool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.cc: In member function 'void PyModuleRegistry::init()': /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.cc:68:34: warning: 'int PyEval_ThreadsInitialized()' is deprecated [-Wdeprecated-declarations] 68 | if (! PyEval_ThreadsInitialized()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/python3.10/Python.h:130, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModule.h:22: /usr/include/python3.10/ceval.h:121:36: note: declared here 121 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModuleRegistry.cc:69:23: warning: 'void PyEval_InitThreads()' is deprecated [-Wdeprecated-declarations] 69 | PyEval_InitThreads(); | ~~~~~~~~~~~~~~~~~~^~ /usr/include/python3.10/ceval.h:122:37: note: declared here 122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:645:5: required from 'void interval_set::union_of(const interval_set&, const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:654:13: required from 'void interval_set::union_of(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:659:13: required from 'void interval_set::union_insert(T, T) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/BlueStore.h:3536:39: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PrimaryLogPG.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDCap.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/client/SyntheticClient.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_fuse.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModule.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/cmdparse.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpScheduler.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonServer.cc: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/DaemonServer.cc:2739:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2739 | if (next != p.get_pgp_num()) { | ~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 84%] Linking CXX shared library ../lib/libcephfs.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/ActivePyModules.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ReplicatedBackend.cc:1235:23: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/cmdparse.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/scheduler/OpScheduler.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.cc: In member function 'void PG::scrub_compare_maps()': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.cc:3094:21: warning: loop variable 'i' creates a copy from type 'const std::pair' [-Wrange-loop-construct] 3094 | for (const auto i : map.second->objects) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.cc:3094:21: note: use reference type to prevent copying 3094 | for (const auto i : map.second->objects) { | ^ | & /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/PyModule.h:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonClient.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/StandbyPyModules.h:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 84%] Built target cephfs /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 84%] Generating ../../../lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying [ 84%] Built target ceph-osdomap-tool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 84%] Linking CXX executable ../../bin/ceph-kvstore-tool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/librados_c.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h: In member function 'virtual void ObjectOperation::C_ObjectOperation_decodekeys::finish(int)': /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:503:22: warning: storing the address of local variable 'ignore' in '*this.ObjectOperation::C_ObjectOperation_decodekeys::pattrs' [-Wdangling-pointer=] 503 | pattrs = &ignore; | ~~~~~~~^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:500:35: note: 'ignore' declared here 500 | std::set ignore; | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:500:35: note: '' declared here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = snapid_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.cc:1722:24: required from 'PG::on_active_advmap(const OSDMapRef&):: [with auto:175 = interval_set]' /usr/include/c++/12/type_traits:2565:26: required by substitution of 'template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = PG::on_active_advmap(const OSDMapRef&)::&; _Args = {interval_set, std::allocator > > >&}]' /usr/include/c++/12/type_traits:2576:55: required from 'struct std::__result_of_impl&, interval_set, std::allocator > > >&>' /usr/include/c++/12/bits/std_function.h:348:9: recursively required by substitution of 'template struct std::__is_invocable_impl<_Result, _Ret, true, std::__void_t > [with _Result = std::__invoke_result&, interval_set, std::allocator > > >&>; _Ret = void]' /usr/include/c++/12/bits/std_function.h:348:9: required from 'struct std::function&)>::_Callable, PG::on_active_advmap(const OSDMapRef&)::, std::__invoke_result&, interval_set, std::allocator > > >&> >' /usr/include/c++/12/bits/std_function.h:353:8: required by substitution of 'template template using _Requires = std::__enable_if_t<_Cond::value, _Tp> [with _Cond = std::function&)>::_Callable, PG::on_active_advmap(const OSDMapRef&)::, std::__invoke_result&, interval_set, std::allocator > > >&> >; _Tp = void; _Res = void; _ArgTypes = {interval_set, std::allocator > > >&}]' /usr/include/c++/12/bits/std_function.h:434:9: required by substitution of 'template std::function&)>::function(_Functor&&) [with _Functor = PG::on_active_advmap(const OSDMapRef&)::; _Constraints = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.cc:1720:36: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/stringify.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrStandby.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/client/Client.h:831:22: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying Compiling cephfs.pyx because it changed. [1/1] Cythonizing cephfs.pyx /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying running build running build_ext building 'cephfs' extension creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310 creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0 creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -w -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.c -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.o -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Elector.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Monitor.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mon.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mon.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 85%] Linking CXX shared library ../../lib/librados.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mds.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying [ 85%] Built target librados [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_auth_keystone.cc.o [ 85%] Building CXX object src/librbd/CMakeFiles/librbd.dir/librbd.cc.o [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_client_io.cc.o [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_frontend.cc.o [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_log.cc.o [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_http_client_curl.cc.o [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_loadgen.cc.o [ 85%] Building CXX object src/CMakeFiles/librados-config.dir/librados-config.cc.o [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_period_pusher.cc.o [ 85%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/libradosstriper.cc.o [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_realm_reloader.cc.o [ 86%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_realm_watcher.cc.o [ 86%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/cephfs-journal-tool.cc.o [ 86%] Building CXX object src/rgw/CMakeFiles/radosgw-token.dir/rgw_token.cc.o [ 86%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/MultiAioCompletionImpl.cc.o [ 86%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/RadosStriperImpl.cc.o [ 86%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/DataScan.cc.o [ 86%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/RoleSelector.cc.o [ 86%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd-mirror.dir/main.cc.o [ 86%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalFilter.cc.o [ 86%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalTool.cc.o [ 86%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_process.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/PgFiles.cc.o [ 86%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_os_lib.cc.o [ 86%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalScanner.cc.o [ 86%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/TableTool.cc.o [ 86%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph-immutable-object-cache.dir/main.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/EventOutput.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/Dumper.cc.o [ 86%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_bucket.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/Resetter.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/cephfs-table-tool.cc.o [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_metadata.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/MDSUtility.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/cephfs-data-scan.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/RoleSelector.cc.o [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_realm.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_config.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/MDSUtility.cc.o [ 87%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/RoleSelector.cc.o [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_log.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_swift.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 87%] Linking CXX executable ../bin/ceph-fuse /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 87%] Linking CXX executable ../../bin/ceph-bluestore-tool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 87%] Built target ceph-fuse In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_usage.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/ECBackend.cc:1909:28: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_user.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_swift_auth.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 87%] Linking CXX executable ../bin/librados-config [ 87%] Built target ceph-kvstore-tool [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_usage.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 87%] Built target librados-config /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying [ 87%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_opa.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 88%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_sts.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/RadosStriperImpl.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/libradosstriper.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/RadosStriperImpl.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/RadosStriperImpl.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/RadosStriperImpl.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/iterator/iterator_traits.hpp:10, from /usr/include/boost/range/iterator_range_core.hpp:26, from /usr/include/boost/algorithm/string/replace.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/RadosStriperImpl.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_reloader.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_reloader.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_reloader.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_pusher.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_pusher.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_pusher.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/radosstriper/libradosstriper.hpp:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/MultiAioCompletionImpl.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/MultiAioCompletionImpl.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/radosstriper/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/MultiAioCompletionImpl.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map, std::allocator > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::allocator > >; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::allocator > > >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_mon.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalScanner.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_keystone.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client_curl.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client_curl.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_os_lib.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_config.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_bucket.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_log.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_metadata.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_log.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_bucket.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:554:12: required from 'void interval_set::subtract(const interval_set&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PrimaryLogPG.cc:8070:19: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 88%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_sts.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = snapid_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = snapid_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PrimaryLogPG.cc:15301:25: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/Mirror.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/main.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_mirror/main.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_usage.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_usage.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/RadosStriperImpl.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/MDSUtility.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/PgFiles.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/PgFiles.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/libradosstriper/RadosStriperImpl.h:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/librbd.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/librbd.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/ImageCtx.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::allocator > >; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tools.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:46: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1698:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1697:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:526:14, inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1708:26, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1703:36, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.cc:2: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.h:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.cc:2: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.h:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/ReadResult.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/io/AioCompletion.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/librbd.cc:42: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/DataScan.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/DataScan.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying [ 89%] Built target ceph-bluestore-tool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/TableTool.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/TableTool.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_swift_auth.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_swift_auth.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_usage.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/EventOutput.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/EventOutput.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.cc:2: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/RoleSelector.h:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PrimaryLogPG.cc:5068:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSCacheObject.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CInode.h:30: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalFilter.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalFilter.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_reloader.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_opa.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_opa.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/JournalPointer.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalScanner.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/Resetter.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/Resetter.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/Dumper.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/fs_types.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/Dumper.cc:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/DataScan.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/cephfs-data-scan.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/cephfs-data-scan.cc:2: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/any.h:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/main.cc:6: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/ObjectCacheStore.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/CacheController.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/main.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/main.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PGMap.cc:17: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1698:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1697:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:526:14, inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1708:26, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1703:36, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/SimplePolicy.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/immutable_object_cache/ObjectCacheStore.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/TableTool.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/cephfs-table-tool.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/cephfs-table-tool.cc:2: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalTool.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalTool.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_pusher.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bitset:47, from /usr/include/c++/12/regex:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_keystone.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalTool.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/cephfs-journal-tool.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/cephfs-journal-tool.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_config.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 89%] Linking CXX executable ../../bin/radosgw-token creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3 /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage-v1.0/build/lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lcephfs -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_log.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client_curl.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_log.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/algorithm/string/predicate.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 89%] Built target cython_cephfs [ 89%] Built target radosgw-token [ 89%] Linking CXX executable ../../../bin/rbd-mirror /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:895:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::bound_encode(const std::pair<_T1, _T2>&, size_t&, uint64_t) [with A = unsigned int; B = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:967:17: required from 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34: In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1698:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node*& btree::internal::btree_node::mutable_child(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1697:45, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:515:84: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 515 | btree_node*& mutable_child(int i) { return GetField<&internal_fields::children>()[i]; } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'void btree::internal::btree_node::set_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::init_child(int, btree::internal::btree_node*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:526:14, inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1708:26, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:522:22: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 522 | mutable_child(i) = c; | ~~~~~~~~~~~~~~~~~^~~ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ In member function 'btree::internal::btree_node* btree::internal::btree_node::child(int) const [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]', inlined from 'void btree::internal::btree_node::swap(btree::internal::btree_node*, allocator_type*) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1703:36, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2418:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of 'btree::internal::AlignedAlloc<8, std::allocator*> > >::M [32]' [-Warray-bounds] 514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; } | ^ In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:879:33, inlined from 'btree::internal::btree::node_type* btree::internal::btree::allocate(size_type) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1289:32, inlined from 'btree::internal::btree::node_type* btree::internal::btree::new_leaf_root_node(int) [with Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:1302:28, inlined from 'btree::internal::btree::iterator btree::internal::btree::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair*>&}; Params = btree::internal::map_params*, std::less, std::allocator*> >, 256, false>]' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/cpp-btree/btree.h:2417:29: /usr/include/c++/12/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by 'operator new' 137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp))); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 89%] Linking CXX executable ../bin/ceph-mds /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/IoCtxImpl.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Linking CXX executable ../../../bin/ceph-immutable-object-cache /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_swift_auth.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/JournalPointer.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/Resetter.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/Dumper.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Built target ceph-immutable-object-cache /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/TableTool.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/PurgeQueue.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalFilter.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalTool.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/DataScan.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalScanner.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/EventOutput.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Throttle.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Linking CXX executable ../../bin/ceph-monstore-tool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 89%] Linking CXX executable ../bin/ceph-syn In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_keystone.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lib.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_os_lib.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_os_lib.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Built target ceph-syn /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc: In function 'void bulkdelete_respond(unsigned int, unsigned int, const std::__cxx11::list&, int, ceph::Formatter&)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1207:21: warning: loop variable 'fail_desc' creates a copy from type 'const RGWBulkDelete::fail_desc_t' [-Wrange-loop-construct] 1207 | for (const auto fail_desc : failures) { | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1207:21: note: use reference type to prevent copying 1207 | for (const auto fail_desc : failures) { | ^~~~~~~~~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1230:19: warning: loop variable 'fail_desc' creates a copy from type 'const RGWBulkDelete::fail_desc_t' [-Wrange-loop-construct] 1230 | for (const auto fail_desc : failures) { | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1230:19: note: use reference type to prevent copying 1230 | for (const auto fail_desc : failures) { | ^~~~~~~~~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc: In function 'void dump_object_metadata(const DoutPrefixProvider*, req_state*, const std::map, ceph::buffer::v15_2_0::list>&)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1360:19: warning: loop variable 'kv' creates a copy from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1360 | for (const auto kv : response_attrs) { | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1360:19: note: use reference type to prevent copying 1360 | for (const auto kv : response_attrs) { | ^~ | & In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc: In static member function 'static int RGWHandler_REST_SWIFT::init_from_header(req_state*, const std::string&)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:2989:21: warning: loop variable 'pfx' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 2989 | for (const auto pfx : skipped_prefixes) { | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:2989:21: note: use reference type to prevent copying 2989 | for (const auto pfx : skipped_prefixes) { | ^~~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/DataScan.cc: In member function 'int DataScan::scan_links()': /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/DataScan.cc:1000:40: warning: ignoring return value of 'std::__cxx11::list<_Tp, _Alloc>::size_type std::__cxx11::list<_Tp, _Alloc>::size() const [with _Tp = DataScan::scan_links()::link_info_t; _Alloc = std::allocator; size_type = long unsigned int]', declared with attribute 'nodiscard' [-Wunused-result] 1000 | dup_primaries[ino].size(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/12/list:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/DataScan.cc:17: /usr/include/c++/12/bits/stl_list.h:1149:7: note: declared here 1149 | size() const _GLIBCXX_NOEXCEPT | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 89%] Linking CXX executable ../bin/ceph-mon In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 89%] Built target ceph-monstore-tool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 89%] Built target ceph-mds /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Linking CXX shared library ../../lib/libradosstriper.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/JournalPointer.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalTool.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:59, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/log/SubsystemMap.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/MDSMap.h:37, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/FSMap.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/MDSUtility.h:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.h:82:17: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.h:82:17: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 89%] Built target radosstriper /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 90%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/rados.cc.o [ 90%] Building CXX object src/tools/CMakeFiles/rados.dir/RadosDump.cc.o [ 90%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/RadosImport.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying [ 90%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/PoolDump.cc.o [ 90%] Building CXX object src/tools/CMakeFiles/rados.dir/__/common/obj_bencher.cc.o [ 90%] Building CXX object src/tools/CMakeFiles/rados.dir/__/common/util.cc.o [ 90%] Building CXX object src/tools/CMakeFiles/rados.dir/__/osd/ECUtil.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 90%] Built target rbd-mirror /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rados/PoolDump.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/events/../CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.h:51:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGLog.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rados/RadosImport.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rados/RadosImport.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 90%] Built target ceph-mon /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rados/rados.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rados/rados.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rados/PoolDump.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rados/PoolDump.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/12/ios:40, from /usr/include/c++/12/ostream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:9: In static member function 'static std::char_traits::char_type* std::char_traits::copy(char_type*, const char_type*, std::size_t)', inlined from 'static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.h:423:21, inlined from 'static void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.h:418:7, inlined from 'std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.tcc:532:22, inlined from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.h:1647:19, inlined from 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]' at /usr/include/c++/12/bits/basic_string.h:815:28, inlined from 'int JournalFilter::parse_args(std::vector&, std::vector::iterator&)' at /builddir/build/BUILD/dsms-storage-v1.0/src/tools/cephfs/JournalFilter.cc:247:20: /usr/include/c++/12/bits/char_traits.h:431:56: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' accessing 9223372036854775810 or more bytes at offsets -4611686018427387902 and [-4611686018427387903, 4611686018427387904] may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict] 431 | return static_cast(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/inode_backtrace.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rados/rados.cc:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PGLog.h:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 90%] Linking CXX executable ../../../bin/cephfs-table-tool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 90%] Linking CXX shared library ../../lib/librbd.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 90%] Linking CXX executable ../../bin/ceph-mgr In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 90%] Linking CXX executable ../../../bin/cephfs-journal-tool /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 90%] Linking CXX executable ../../../bin/cephfs-data-scan [ 90%] Built target ceph-mgr [ 90%] Linking CXX static library ../../lib/librgw_a.a [ 90%] Built target cephfs-table-tool [ 90%] Built target librbd [ 90%] Building CXX object src/tools/rbd_nbd/CMakeFiles/rbd-nbd.dir/rbd-nbd.cc.o [ 90%] Generating ../../../lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so [ 90%] Building CXX object src/rbd_fuse/CMakeFiles/rbd-fuse.dir/rbd-fuse.cc.o [ 91%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/rbd.cc.o [ 91%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/ArgumentTypes.cc.o [ 91%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/IndentStream.cc.o [ 91%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay_ios.dir/ios.cc.o [ 91%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/MirrorDaemonServiceInfo.cc.o [ 91%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/ImageNameMap.cc.o [ 91%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/actions.cc.o [ 91%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Schedule.cc.o [ 91%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/BufferReader.cc.o [ 91%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Shell.cc.o [ 91%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/OptionPrinter.cc.o [ 91%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Utils.cc.o [ 92%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/PendingIO.cc.o [ 92%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/rbd_loc.cc.o [ 92%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/Replayer.cc.o [ 92%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Children.cc.o [ 92%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Bench.cc.o [ 92%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Clone.cc.o [ 92%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Config.cc.o [ 92%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Copy.cc.o [ 92%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Create.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Device.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Diff.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Feature.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Export.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/DiskUsage.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Flatten.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Ggate.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Group.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/ImageMeta.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Import.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Info.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Journal.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Kernel.cc.o [ 93%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/List.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Lock.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MergeDiff.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Migration.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MirrorImage.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MirrorPool.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MirrorSnapshotSchedule.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Namespace.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Nbd.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/ObjectMap.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Perf.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Pool.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Remove.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Rename.cc.o [ 94%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Resize.cc.o [ 95%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Snap.cc.o [ 95%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Sparsify.cc.o [ 95%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Status.cc.o [ 95%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/TrashPurgeSchedule.cc.o [ 95%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Trash.cc.o [ 95%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Watch.cc.o [ 95%] Built target cephfs-journal-tool In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Clone.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Clone.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/ios.hpp:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/ios.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:27, from /usr/include/boost/smart_ptr/weak_ptr.hpp:16, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/ios.hpp:22: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Copy.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Copy.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Diff.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Diff.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Children.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Children.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Lock.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Lock.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Flatten.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Flatten.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Migration.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Migration.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/ObjectMap.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/ObjectMap.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Rename.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Rename.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Resize.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Resize.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Sparsify.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Sparsify.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/ImageMeta.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/ImageMeta.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/actions.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:27, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/actions.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/PendingIO.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/PendingIO.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:35, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:27, from /usr/include/boost/smart_ptr/weak_ptr.hpp:16, from /usr/include/boost/smart_ptr/enable_shared_from_this.hpp:16, from /usr/include/boost/enable_shared_from_this.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/PendingIO.hpp:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Info.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Info.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 95%] Built target cephfs-data-scan In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Feature.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Feature.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/DiskUsage.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/DiskUsage.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Create.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Create.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Export.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Export.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Status.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Status.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Namespace.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Namespace.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/List.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/List.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Pool.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Pool.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Nbd.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Nbd.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Journal.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Journal.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Snap.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Snap.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ Compiling rbd.pyx because it changed. [1/1] Cythonizing rbd.pyx In file included from /usr/include/boost/bind.hpp:30, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/BoundedBuffer.hpp:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/Replayer.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/Replayer.cc:15: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ running build running build_ext building 'rbd' extension creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -w -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.c -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.o -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/MergeDiff.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/MergeDiff.cc:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Trash.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Trash.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Group.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Group.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Remove.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Remove.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/MirrorDaemonServiceInfo.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/MirrorDaemonServiceInfo.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Kernel.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Kernel.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/MirrorPool.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/MirrorPool.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/MirrorImage.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/MirrorImage.cc:14: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Import.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Import.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Bench.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Bench.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/MirrorSnapshotSchedule.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/MirrorSnapshotSchedule.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Perf.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Perf.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Watch.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Watch.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/program_options/options_description.hpp:16, from /usr/include/boost/program_options.hpp:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:12: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/PendingIO.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/Replayer.hpp:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/Replayer.hpp:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Ggate.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/stringify.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Ggate.cc:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/TrashPurgeSchedule.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/TrashPurgeSchedule.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Schedule.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Schedule.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/program_options/options_description.hpp:16, from /usr/include/boost/program_options.hpp:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:12: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/program_options/options_description.hpp:16, from /usr/include/boost/program_options.hpp:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:12: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [ 95%] Linking CXX static library ../../lib/librbd_replay_ios.a [ 95%] Built target rbd_replay_ios In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/program_options/options_description.hpp:16, from /usr/include/boost/program_options.hpp:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/ArgumentTypes.h:12: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/Utils.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Config.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/deque:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Formatter.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd/action/Config.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_nbd/rbd-nbd.cc:61: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/fstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_nbd/rbd-nbd.cc:41: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_nbd/rbd-nbd.cc:64: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 95%] Linking CXX executable ../../bin/rbd-fuse [ 95%] Built target rbd-fuse [ 95%] Linking CXX executable ../../bin/rados In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rbd_nbd/rbd-nbd.cc:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying [ 95%] Built target rados [ 95%] Generating ../../../lib/cython_modules/lib.3/rados.cpython-310-x86_64-linux-gnu.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying Compiling rados.pyx because it changed. [1/1] Cythonizing rados.pyx running build running build_ext building 'rados' extension creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -w -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.c -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.o -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv [ 95%] Linking CXX static library ../../lib/librbd_replay.a [ 95%] Built target rbd_replay [ 95%] Building CXX object src/rbd_replay/CMakeFiles/rbd-replay.dir/rbd-replay.cc.o [ 95%] Building CXX object src/rbd_replay/CMakeFiles/rbd-replay-prep.dir/rbd-replay-prep.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/ios.hpp:28, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/rbd-replay-prep.cc:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/rbd-replay-prep.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.cc: In member function 'void OSD::asok_command(std::string_view, const cmdmap_t&, ceph::Formatter*, const ceph::bufferlist&, std::function&, ceph::buffer::v15_2_0::list&)>)': /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.cc:2823:48: warning: '%lld' directive output may be truncated writing between 1 and 20 bytes into a region of size 17 [-Wformat-truncation=] 2823 | snprintf(nm, sizeof(nm), "disk_bw_test_%lld", (long long)pos); | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.cc:2823:34: note: directive argument in the range [-9223372036854775808, 9223372036854775806] 2823 | snprintf(nm, sizeof(nm), "disk_bw_test_%lld", (long long)pos); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3960, from /usr/include/c++/12/string:53: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'void OSD::asok_command(std::string_view, const cmdmap_t&, ceph::Formatter*, const ceph::bufferlist&, std::function&, ceph::buffer::v15_2_0::list&)>)' at /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.cc:2823:10: /usr/include/bits/stdio2.h:54:35: note: '__builtin___snprintf_chk' output between 15 and 34 bytes into a destination of size 30 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/thread_data.hpp:12, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/rbd-replay.cc:16: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.hpp:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/actions.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/PendingIO.hpp:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/Replayer.hpp:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/rbd-replay.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/../rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rbd_replay/rbd-replay.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 95%] Linking CXX executable ../../../bin/rbd-nbd [ 95%] Linking CXX executable ../../bin/rbd-replay-prep [ 95%] Built target rbd-nbd [ 95%] Built target rbd-replay-prep [ 95%] Linking CXX executable ../../../bin/rbd [ 96%] Linking CXX executable ../../bin/rbd-replay [ 96%] Built target rbd-replay [ 96%] Built target rbd [ 96%] Built target rgw_a [ 97%] Building CXX object src/rgw/CMakeFiles/rgw.dir/librgw.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw-object-expirer.dir/rgw_object_expirer.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw-es.dir/rgw_es_main.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_loadgen_process.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/rgw.dir/rgw_file.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw-admin.dir/rgw_orphan.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw-admin.dir/rgw_admin.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_auth_keystone.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_frontend.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_client_io.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_http_client_curl.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb_frontend.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_loadgen.cc.o [ 97%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_log.cc.o [ 98%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb_log.cc.o [ 98%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_process.cc.o [ 98%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_bucket.cc.o [ 98%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_period_pusher.cc.o [ 98%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_realm_watcher.cc.o [ 98%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_os_lib.cc.o [ 98%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_realm_reloader.cc.o [ 98%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_config.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_log.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_metadata.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_realm.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_user.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_swift.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_usage.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_swift_auth.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_opa.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_usage.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_sts.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_sts.cc.o [ 99%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_main.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_usage.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_usage.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_reloader.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_reloader.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_civetweb.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_civetweb.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_reloader.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_pusher.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_pusher.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_pusher.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_opa.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_opa.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_civetweb_frontend.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bitset:47, from /usr/include/c++/12/regex:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_orphan.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_orphan.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_metadata.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_civetweb_log.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_swift_auth.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_swift_auth.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_config.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_usage.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 99%] Linking CXX executable ../../bin/radosgw-es In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client_curl.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client_curl.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_keystone.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_log.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_bucket.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_log.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_os_lib.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_request.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lib.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_file.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage-v1.0/build/lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrbd -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_client.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_admin.cc:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_admin.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 99%] Built target cython_rbd In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_tools.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen_process.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen_process.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_bucket.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_main.cc:16: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_reloader.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_object_expirer.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/algorithm/string/predicate.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_civetweb.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_user.h:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_admin.cc:36: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/librgw.cc:40: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/librgw.cc:21: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_coroutine.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cr_rest.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_period_pusher.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_civetweb_log.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/iterator:61, from /usr/include/boost/algorithm/string/predicate.hpp:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_user.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_civetweb_frontend.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_config.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_keystone.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_log.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:26, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_main.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_swift_auth.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/utility/string_ref_fwd.hpp:19, from /usr/include/boost/utility/string_ref.hpp:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:8: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/specfun.h:45, from /usr/include/c++/12/cmath:1935, from /usr/include/c++/12/math.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_log.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_object_expirer.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client_curl.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/errno.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_realm.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lib.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_sts.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.cc:12: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_http_client_curl.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_admin.cc:56: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen_process.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_object_expirer.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Clock.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_realm_watcher.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage-v1.0/build/lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rados.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lib.h:14: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/options.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/config.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_orphan.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 99%] Built target cython_rados In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/utime.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_lib.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_os_lib.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_os_lib.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc: In function 'void bulkdelete_respond(unsigned int, unsigned int, const std::__cxx11::list&, int, ceph::Formatter&)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1207:21: warning: loop variable 'fail_desc' creates a copy from type 'const RGWBulkDelete::fail_desc_t' [-Wrange-loop-construct] 1207 | for (const auto fail_desc : failures) { | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1207:21: note: use reference type to prevent copying 1207 | for (const auto fail_desc : failures) { | ^~~~~~~~~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1230:19: warning: loop variable 'fail_desc' creates a copy from type 'const RGWBulkDelete::fail_desc_t' [-Wrange-loop-construct] 1230 | for (const auto fail_desc : failures) { | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1230:19: note: use reference type to prevent copying 1230 | for (const auto fail_desc : failures) { | ^~~~~~~~~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc: In function 'void dump_object_metadata(const DoutPrefixProvider*, req_state*, const std::map, ceph::buffer::v15_2_0::list>&)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1360:19: warning: loop variable 'kv' creates a copy from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1360 | for (const auto kv : response_attrs) { | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:1360:19: note: use reference type to prevent copying 1360 | for (const auto kv : response_attrs) { | ^~ | & In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/librgw.cc:44: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_main.cc:31: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc: In static member function 'static int RGWHandler_REST_SWIFT::init_from_header(req_state*, const std::string&)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:2989:21: warning: loop variable 'pfx' creates a copy from type 'const std::__cxx11::basic_string' [-Wrange-loop-construct] 2989 | for (const auto pfx : skipped_prefixes) { | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:2989:21: note: use reference type to prevent copying 2989 | for (const auto pfx : skipped_prefixes) { | ^~~ | & /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Throttle.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Throttle.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_loadgen_process.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_keystone.cc:13: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_swift.cc:14: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest_sts.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_auth_registry.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_process.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_frontend.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In constructor 'jwt::algorithm::ecdsa::ecdsa(const std::string&, const std::string&, const std::string&, const std::string&, const EVP_MD* (*)(), const std::string&, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:74: warning: 'EC_KEY* PEM_read_bio_EC_PUBKEY(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:11: /usr/include/openssl/pem.h:463:1: note: declared here 463 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, EC_PUBKEY, EC_KEY) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:329:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | pkey.reset(PEM_read_bio_EC_PUBKEY(pubkey_bio.get(), nullptr, nullptr, (void*)public_key_password.c_str()), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/pem.h:23: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:332:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:77: warning: 'EC_KEY* PEM_read_bio_ECPrivateKey(BIO*, EC_KEY**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:341:51: warning: 'void EC_KEY_free(EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | pkey.reset(PEM_read_bio_ECPrivateKey(privkey_bio.get(), nullptr, nullptr, const_cast(private_key_password.c_str())), EC_KEY_free); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:344:95: warning: 'const EC_GROUP* EC_KEY_get0_group(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 344 | size_t keysize = EC_GROUP_get_degree(EC_KEY_get0_group(pkey.get())); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:351:52: warning: 'int EC_KEY_check_key(const EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | if(EC_KEY_check_key(pkey.get()) == 0) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/ec.h:1107:27: note: declared here 1107 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_check_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::ecdsa::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:364:58: warning: 'ECDSA_SIG* ECDSA_do_sign(const unsigned char*, int, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 364 | sig(ECDSA_do_sign((const unsigned char*)hash.data(), hash.size(), pkey.get()), ECDSA_SIG_free); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::ecdsa::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:408:51: warning: 'int ECDSA_do_verify(const unsigned char*, int, const ECDSA_SIG*, EC_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 408 | if(ECDSA_do_verify((const unsigned char*)hash.data(), hash.size(), sig.get(), pkey.get()) != 1) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'std::string jwt::algorithm::pss::sign(const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:19: /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:511:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 511 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:512:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 512 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:515:68: warning: 'int RSA_padding_add_PKCS1_PSS_mgf1(RSA*, unsigned char*, const unsigned char*, const EVP_MD*, const EVP_MD*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 515 | if (!RSA_padding_add_PKCS1_PSS_mgf1(key.get(), (unsigned char*)padded.data(), (const unsigned char*)hash.data(), md(), md(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:441:5: note: declared here 441 | int RSA_padding_add_PKCS1_PSS_mgf1(RSA *rsa, unsigned char *EM, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:519:56: warning: 'int RSA_private_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if (RSA_private_encrypt(size, (const unsigned char*)padded.data(), (unsigned char*)res.data(), key.get(), RSA_NO_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h: In member function 'void jwt::algorithm::pss::verify(const std::string&, const std::string&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:64: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^~~~~~~~ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:96: warning: 'rsa_st* EVP_PKEY_get1_RSA(EVP_PKEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:16: note: declared here 1355 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:532:118: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | std::unique_ptr key(EVP_PKEY_get1_RSA(pkey.get()), RSA_free); | ^ /usr/include/openssl/rsa.h:296:28: note: declared here 296 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:533:58: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 533 | const int size = RSA_size(key.get()); | ~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:536:55: warning: 'int RSA_public_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 536 | if(!RSA_public_decrypt(signature.size(), (const unsigned char*)signature.data(), (unsigned char*)sig.data(), key.get(), RSA_NO_PADDING)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:291:5: note: declared here 291 | int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/jwt-cpp/jwt.h:539:62: warning: 'int RSA_verify_PKCS1_PSS_mgf1(RSA*, const unsigned char*, const EVP_MD*, const EVP_MD*, const unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | if(!RSA_verify_PKCS1_PSS_mgf1(key.get(), (const unsigned char*)hash.data(), md(), md(), (const unsigned char*)sig.data(), -1)) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:436:5: note: declared here 436 | int RSA_verify_PKCS1_PSS_mgf1(RSA *rsa, const unsigned char *mHash, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_client_io.h:16: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_json.h:6, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_op.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/sstring.hh:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rest.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 99%] Linking CXX executable ../../bin/radosgw-object-expirer /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 99%] Built target radosgw-es /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_admin.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_role.h:105:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 99%] Linking CXX static library ../../lib/libosd.a [ 99%] Built target radosgw-object-expirer In file included from /usr/include/string.h:535, from /usr/include/c++/12/cstring:42, from /usr/include/boost/assert/source_location.hpp:17, from /usr/include/boost/exception/exception.hpp:9, from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/utility/string_view.hpp:25, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:22: In function 'void* memcpy(void*, const void*, size_t)', inlined from 'void* maybe_inline_memcpy(void*, const void*, size_t, size_t)' at /builddir/build/BUILD/dsms-storage-v1.0/src/include/inline_memory.h:28:18, inlined from 'std::streamsize StackStringBuf::xsputn(const char*, std::streamsize) [with long unsigned int SIZE = 4096]' at /builddir/build/BUILD/dsms-storage-v1.0/src/common/StackStringStream.h:65:26, inlined from 'std::streamsize std::basic_streambuf<_CharT, _Traits>::sputn(const char_type*, std::streamsize) [with _CharT = char; _Traits = std::char_traits]' at /usr/include/c++/12/streambuf:456:28, inlined from 'bool boost::io::detail::buffer_fill(std::basic_streambuf&, charT, std::size_t) [with charT = char; traits = std::char_traits]' at /usr/include/boost/io/detail/buffer_fill.hpp:28:47: /usr/include/bits/string_fortified.h:29:33: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' specified bound between 9223372036854775808 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 99%] Linking CXX shared library ../../lib/libradosgw.so [ 99%] Linking CXX shared library ../../lib/librgw.so [ 99%] Built target osd [ 99%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/ceph_objectstore_tool.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/denc_registry.cc.o [ 99%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/rebuild_mondb.cc.o [ 99%] Building CXX object src/CMakeFiles/ceph-osd.dir/ceph_osd.cc.o [ 99%] Building CXX object src/CMakeFiles/ceph-osd.dir/osd/objclass.cc.o [ 99%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/RadosDump.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/common_types.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/ceph_dencoder.cc.o [ 99%] Building CXX object src/CMakeFiles/ceph-osd.dir/objclass/class_api.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/osd_types.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/mds_types.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/rbd_types.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/rgw_types.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/include/utime.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/rgw/rgw_dencoder.cc.o [ 99%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/include/uuid.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/deep_copy/Types.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/Types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/rbd_types.h:2, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/rbd_types.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/boost/type_index/type_index_facade.hpp:14, from /usr/include/boost/type_index/stl_type_index.hpp:22, from /usr/include/boost/type_index.hpp:29, from /usr/include/boost/variant/variant.hpp:21, from /usr/include/boost/variant.hpp:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/librbd/journal/Types.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/rgw_types.h:3, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/rgw_types.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_construct.h:61, from /usr/include/c++/12/bits/alloc_traits.h:33, from /usr/include/c++/12/ext/alloc_traits.h:34, from /usr/include/c++/12/unordered_map:41, from /usr/include/c++/12/functional:61, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:7: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_dencoder.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/denc_registry.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/denc_registry.cc:1: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/iomanip:40, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:35, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_osd.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/memory:63, from /usr/include/boost/smart_ptr/scoped_ptr.hpp:22, from /usr/include/boost/scoped_ptr.hpp:13, from /builddir/build/BUILD/dsms-storage-v1.0/src/ceph_osd.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/DynamicPerfStats.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PrimaryLogPG.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/objclass.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/objclass.cc:5: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/osd_types.h:1, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/osd_types.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:27: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/ceph_dencoder.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_objectstore_tool.cc:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/boost/any/bad_any_cast.hpp:21, from /usr/include/boost/any.hpp:18, from /usr/include/boost/program_options/variables_map.hpp:12, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_objectstore_tool.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:15: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rebuild_mondb.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxKeyServer.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/rebuild_mondb.cc:1: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/JournalPointer.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/mds_types.h:2, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/mds_types.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/JournalPointer.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/DynamicPerfStats.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MAuth.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/common_types.h:94, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/common_types.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/ceph_time.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/common_types.h:1: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:39: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/array:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:20: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/RadosDump.h:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_objectstore_tool.cc:31: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MonOpRequest.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Paxos.h:121, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/PaxosService.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/AuthMonitor.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/osd_types.h:108: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 99%] Built target rgw [ 99%] Generating ../../../lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSD.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_objectstore_tool.cc:37: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 99%] Built target radosgw [ 99%] Building CXX object src/rgw/CMakeFiles/radosgwd.dir/radosgw.cc.o [ 99%] Linking CXX executable ../../bin/radosgw In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Journaler.h:63, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/mds_types.h:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 99%] Built target radosgwd Compiling rgw.pyx because it changed. [1/1] Cythonizing rgw.pyx running build running build_ext building 'rgw' extension creating /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -w -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.c -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.o -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/LFNIndex.h:27, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/HashIndex.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/os/filestore/FileStore.h:42, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/osd_types.h:144: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:34: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/cmdparse.h:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/PG.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_rados.h:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/btree_map.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:317:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_acl.h:319:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:632:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_common.h:859:12: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, ltstr_nocase>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, ltstr_nocase>; traits = denc_traits, std::__cxx11::basic_string, ltstr_nocase>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_zone.h:428:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, ltstr_nocase> >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_cache.h:70:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph_objectstore_tool.cc:24: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:980:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_onode_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:976:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr, std::less, mempool::pool_allocator > >, std::allocator, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, mempool::pool_allocator >, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage-v1.0/build/lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrados -lrgw -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 99%] Built target cython_rgw /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 99%] Built target cython_modules /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:381:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:129:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDConfigPayload; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MetricTypes.h:127:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = long unsigned int; Map = std::map]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = interval_set; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1031:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const bluestore_deferred_transaction_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/bluestore/bluestore_types.h:1027:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/InoTable.h:82:17: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/ceph_time.h:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientSession.h:88:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:87:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::pair, std::less, std::allocator > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SnapServer.h:89:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::pair, std::less, std::allocator > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMDSBeacon.h:128:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientSession.h:88:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = std::__cxx11::basic_string; T = ceph::buffer::v15_2_0::ptr; Map = std::map, ceph::buffer::v15_2_0::ptr>]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = std::__cxx11::basic_string; T = ceph::buffer::v15_2_0::ptr; Map = std::map, ceph::buffer::v15_2_0::ptr>]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:979:9: required from 'void old_inode_t::encode(ceph::bufferlist&, uint64_t) const [with Allocator = std::allocator; ceph::bufferlist = ceph::buffer::v15_2_0::list; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:1023:11: required from 'void encode(const old_inode_t&, ceph::bufferlist&, uint64_t) [with Allocator = std::allocator; ceph::bufferlist = ceph::buffer::v15_2_0::list; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/denc_registry.h:132:11: required from 'void DencoderImplFeaturefulNoCopy::encode(ceph::bufferlist&, uint64_t) [with T = old_inode_t; ceph::bufferlist = ceph::buffer::v15_2_0::list; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/denc_registry.h:129:8: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = std::__cxx11::basic_string; T = ceph::buffer::v15_2_0::ptr; Map = std::map, ceph::buffer::v15_2_0::ptr>]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = std::__cxx11::basic_string; T = ceph::buffer::v15_2_0::ptr; Map = std::map, ceph::buffer::v15_2_0::ptr>]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:979:9: required from 'void old_inode_t::encode(ceph::bufferlist&, uint64_t) const [with Allocator = std::allocator; ceph::bufferlist = ceph::buffer::v15_2_0::list; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/mdstypes.h:1023:11: required from 'void encode(const old_inode_t&, ceph::bufferlist&, uint64_t) [with Allocator = std::allocator; ceph::bufferlist = ceph::buffer::v15_2_0::list; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/denc_registry.h:132:11: required from 'void DencoderImplFeaturefulNoCopy::encode(ceph::bufferlist&, uint64_t) [with T = old_inode_t; ceph::bufferlist = ceph::buffer::v15_2_0::list; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/tools/ceph-dencoder/denc_registry.h:129:8: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 99%] Linking CXX executable ../bin/ceph-osd /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 99%] Built target ceph-osd [ 99%] Linking CXX executable ../../bin/ceph-objectstore-tool [ 99%] Built target ceph-objectstore-tool [ 99%] Linking CXX executable ../../bin/radosgw-admin [ 99%] Built target radosgw-admin [100%] Linking CXX executable ../../../bin/ceph-dencoder [100%] Built target ceph-dencoder + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VOtn4Z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64 ~/build/BUILD/dsms-storage-v1.0/build ~/build/BUILD/dsms-storage-v1.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dsms-storage-v1.0 + pushd build + make DESTDIR=/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64 install [ 0%] Built target ceph.pp [ 0%] Built target oprequest-tp [ 2%] Built target common-objs [ 3%] Built target compressor_objs [ 3%] Built target common_utf8 [ 3%] Built target json_spirit [ 3%] Built target fmt [ 4%] Built target common-auth-objs [ 4%] Built target common_buffer_obj [ 4%] Built target common_texttable_obj [ 10%] Built target common-common-objs [ 10%] Built target common_mountcephfs_objs [ 10%] Built target arch [ 10%] Built target crc32 [ 11%] Built target crush_objs [ 13%] Built target common-msg-objs [ 14%] Built target erasure_code [ 14%] Built target common [ 14%] Built target ceph-common [ 14%] Built target rados_snap_set_diff_obj [ 15%] Built target cls_lock_client [ 15%] Built target osdc [ 15%] Built target librados-tp [ 15%] Built target librados_impl [ 16%] Built target librados [ 16%] Built target librados-config [ 16%] Built target erasure_code_objs [ 20%] Built target ec_isa [ 21%] Built target jerasure_objs [ 21%] Built target jerasure_utils [ 22%] Built target gf-complete_objs [ 22%] Built target ec_jerasure_sse4 [ 22%] Built target ec_jerasure_generic [ 22%] Built target ec_jerasure_sse3 [ 22%] Built target ec_jerasure [ 22%] Built target ec_lrc [ 22%] Built target shec_utils [ 22%] Built target ec_shec_sse4 [ 22%] Built target ec_shec_generic [ 22%] Built target ec_shec_sse3 [ 22%] Built target ec_shec [ 22%] Built target ec_clay [ 22%] Built target erasure_code_plugins [ 22%] Performing build step for 'rocksdb_ext' [ 0%] Built target build_version [100%] Built target rocksdb [ 22%] Performing install step for 'rocksdb_ext' [ 22%] Completed 'rocksdb_ext' [ 23%] Built target rocksdb_ext [ 23%] Built target libglobal_objs [ 23%] Built target global-static [ 23%] Built target heap_profiler [ 23%] Built target common_prioritycache_obj [ 24%] Built target kv [ 24%] Built target mgr_cap_obj [ 26%] Built target mon [ 27%] Built target ceph_crypto_isal [ 28%] Built target ceph_crypto_openssl [ 28%] Built target crypto_plugins [ 28%] Built target bluestore-tp [ 28%] Built target objectstore-tp [ 28%] Built target ceph_lz4 [ 28%] Built target ceph_snappy [ 30%] Built target ceph_zlib [ 31%] Built target zstd_ext [ 31%] Built target ceph_zstd [ 31%] Built target compressor_plugins [ 34%] Built target os [ 35%] Built target ceph-mon [ 36%] Built target dmclock [ 36%] Built target cpu_profiler [ 36%] Built target osd-tp [ 36%] Built target pg-tp [ 36%] Built target cls_hello [ 36%] Built target cls_numops [ 37%] Built target cls_rbd [ 37%] Built target cls_lock [ 37%] Built target cls_otp [ 37%] Built target cls_refcount [ 37%] Built target cls_version [ 37%] Built target cls_log [ 37%] Built target cls_timeindex [ 37%] Built target cls_user [ 37%] Built target cls_journal [ 38%] Built target cls_rgw [ 38%] Built target cls_cephfs [ 38%] Built target cls_cas [ 38%] Built target cls_queue [ 38%] Built target cls_rgw_gc [ 40%] Built target osd [ 40%] Built target ceph-osd [ 42%] Built target liblua [ 45%] Built target mds [ 46%] Built target ceph-mds [ 47%] Built target client [ 47%] Built target cephfs [ 47%] Built target ceph-syn [ 47%] Built target ceph-fuse [ 47%] Built target parse_secret_objs [ 47%] Built target krbd [ 47%] Built target civetweb_common_objs [ 48%] Built target osd_tp [ 48%] Built target rados_tp [ 48%] Built target os_tp [ 48%] Built target bluestore_tp [ 49%] Built target rgw_op_tp [ 49%] Built target rgw_rados_tp [ 49%] Built target rbd_tp [ 49%] Built target global [ 50%] Built target cls_sdk [ 51%] Built target cls_numops_client [ 51%] Built target cls_rbd_client [ 51%] Built target cls_otp_client [ 51%] Built target cls_refcount_client [ 52%] Built target cls_version_client [ 52%] Built target cls_log_client [ 52%] Built target cls_timeindex_client [ 52%] Built target cls_user_client [ 52%] Built target cls_journal_client [ 52%] Built target cls_rgw_client [ 53%] Built target cls_cephfs_client [ 53%] Built target cls_lua [ 53%] Built target cls_lua_client [ 53%] Built target cls_cas_client [ 53%] Built target cls_queue_client [ 53%] Built target cls_rgw_gc_client [ 53%] Built target radosstriper [ 53%] generating mgr/rook/rook_client +++ readlink -f ./generate_rook_ceph_client.sh ++ dirname /builddir/build/BUILD/dsms-storage-v1.0/src/pybind/mgr/rook/generate_rook_ceph_client.sh + script_location=/builddir/build/BUILD/dsms-storage-v1.0/src/pybind/mgr/rook + cd /builddir/build/BUILD/dsms-storage-v1.0/src/pybind/mgr/rook + rm -rf rook_client + cp -r ./rook-client-python/rook_client . + rm -rf rook_client/cassandra + rm -rf rook_client/edgefs + rm -rf rook_client/tests [ 53%] Built target mgr-rook-client [ 54%] Built target ceph-mgr [ 54%] Built target rgw_rados-tp [ 54%] Built target rgw_op-tp [ 63%] Built target rgw_common [ 63%] keep civetweb.h up-to-date [ 63%] Built target civetweb_h [ 65%] Built target rgw_a [ 65%] Built target rgw [ 65%] Built target cython_rgw [ 66%] Built target rados [ 66%] Built target cython_rados [ 66%] Built target ceph_immutable_object_cache_lib [ 66%] Built target librbd-tp [ 77%] Built target rbd_internal [ 78%] Built target journal [ 79%] Built target rbd_types [ 79%] Built target librbd [ 79%] Built target cython_rbd [ 79%] Built target cython_cephfs [ 79%] Built target cython_modules [ 80%] Built target ceph_volume-clone [ 81%] Built target ceph-clone [ 81%] Built target ceph-bluestore-tool [ 82%] Built target ceph-osdomap-tool [ 82%] Built target ceph-monstore-tool [ 82%] Built target ceph-objectstore-tool [ 82%] Built target ceph-kvstore-tool [ 82%] Built target ceph-conf [ 82%] Built target crushtool [ 82%] Built target monmaptool [ 82%] Built target osdmaptool [ 82%] Built target ceph-diff-sorted [ 82%] Built target ceph-authtool [ 83%] Built target cephfs-journal-tool [ 83%] Built target cephfs-table-tool [ 84%] Built target cephfs-data-scan [ 84%] Built target cephfs-shell-clone [ 88%] Built target rbd [ 88%] Built target rbd_mirror_types [ 92%] Built target rbd_mirror_internal [ 92%] Built target rbd_api [ 92%] Built target rbd-mirror [ 92%] Built target rbd-nbd [ 92%] Built target ceph-immutable-object-cache [ 92%] Built target rbd_replay_types [ 93%] Built target ceph-dencoder [ 93%] Built target ceph-erasure-code-tool [ 94%] Built target isal_crypto_plugin_objs [ 94%] Built target mount.ceph [ 94%] Built target rbd-fuse [ 95%] Built target rbd_replay [ 96%] Built target rbd-replay [ 96%] Built target rbd_replay_ios [ 96%] Built target rbd-replay-prep [ 96%] Built target cls_kvs [ 96%] Built target rgw_schedulers [ 98%] Built target radosgw [ 98%] Built target radosgwd [ 99%] Built target radosgw-admin [ 99%] Built target radosgw-es [ 99%] Built target radosgw-token [ 99%] Built target radosgw-object-expirer [ 99%] manpages building [100%] Built target manpages Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/selinux/packages/ceph.pp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/selinux/devel/include/contrib/ceph.if -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/libceph-common.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/libceph-common.so.2" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/librados-config -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/librados-config" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mon -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mon" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mds -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mds" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-post-file -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-crash -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-run -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-clsinfo -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/init.d/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/id_rsa_drop.ceph.com -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/id_rsa_drop.ceph.com.pub -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/known_hosts_drop.ceph.com -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/ceph/ceph_common.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/ceph/ceph-osd-prestart.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/ceph-create-keys -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libcephfs.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libcephfs.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libcephfs.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libcephfs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/cephfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/cephfs/ceph_ll_client.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/cephfs/libcephfs.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-syn -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-syn" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-fuse -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-fuse" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/mount.fuse.ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-rbdnamer -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay-many -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbdmap -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/doc/ceph/sample.ceph.conf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/ocf/resource.d/ceph/rbd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados_tp.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados_tp.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libosd_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libosd_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libosd_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libos_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libos_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libos_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw_rados_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw_rados_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw_rados_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw_op_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw_op_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw_op_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_sdk.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_sdk.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_sdk.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_hello.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_hello.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_hello.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_numops.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_numops.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_numops.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rbd.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rbd.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rbd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_lock.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_lock.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_lock.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_otp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_otp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_otp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_refcount.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_refcount.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_refcount.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_version.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_version.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_version.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_log.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_log.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_log.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_timeindex.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_timeindex.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_timeindex.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_user.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_user.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_user.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_journal.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_journal.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_journal.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rgw.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rgw.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_cephfs.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_cephfs.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_cephfs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_lua.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_lua.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_lua.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_cas.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_cas.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_cas.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_queue.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_queue.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_queue.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rgw_gc.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rgw_gc.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rgw_gc.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/librados.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/rados_types.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/rados_types.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/librados_fwd.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/librados.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/buffer.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/buffer_fwd.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/inline_memory.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/page.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/crc32c.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/objclass.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/radosstriper/libradosstriper.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/radosstriper/libradosstriper.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rbd/features.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rbd/librbd.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rbd/librbd.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/librgw.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/include/rados/rgw_file.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosstriper.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosstriper.so.1 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosstriper.so.1.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosstriper.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mgr -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mgr" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_argparse.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_daemon.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume_client.py running build running build_ext cythoning rados.pyx to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex /usr/lib64/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/dsms-storage-v1.0/src/pybind/rados/rados.pxd tree = Parsing.p_module(s, pxd, full_module_name) building 'rados' extension creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD/dsms-storage-v1.0 creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD/dsms-storage-v1.0/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD/dsms-storage-v1.0/build/src creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex /usr/bin/gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c -o /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.o -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pf_5rados_5Rados___init__’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:12376:3: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 12376 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/Python.h:130, from /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:6: /usr/include/python3.10/ceval.h:122:37: note: declared here 122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pf_5rados_5Rados_40create_pool’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:18807:11: warning: ‘rados_pool_create_with_auid’ is deprecated [-Wdeprecated-declarations] 18807 | __pyx_v_ret = rados_pool_create_with_auid(__pyx_v_self->cluster, __pyx_v__pool_name, __pyx_v__auid); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:744: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.h:879:20: note: declared here 879 | CEPH_RADOS_API int rados_pool_create_with_auid(rados_t cluster, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:18882:11: warning: ‘rados_pool_create_with_all’ is deprecated [-Wdeprecated-declarations] 18882 | __pyx_v_ret = rados_pool_create_with_all(__pyx_v_self->cluster, __pyx_v__pool_name, __pyx_v__auid, __pyx_v__crush_rule); | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.h:911:20: note: declared here 911 | CEPH_RADOS_API int rados_pool_create_with_all(rados_t cluster, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pf_5rados_5Ioctx_138set_osdmap_full_try’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:60670:9: warning: ‘rados_set_osdmap_full_try’ is deprecated [-Wdeprecated-declarations] 60670 | rados_set_osdmap_full_try(__pyx_v_self->io); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.h:3679:21: note: declared here 3679 | CEPH_RADOS_API void rados_set_osdmap_full_try(rados_ioctx_t io) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pf_5rados_5Ioctx_140unset_osdmap_full_try’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:60756:9: warning: ‘rados_unset_osdmap_full_try’ is deprecated [-Wdeprecated-declarations] 60756 | rados_unset_osdmap_full_try(__pyx_v_self->io); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.h:3682:21: note: declared here 3682 | CEPH_RADOS_API void rados_unset_osdmap_full_try(rados_ioctx_t io) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c: At top level: : warning: ‘dead_function’ defined but not used [-Wunused-function] : note: in expansion of macro ‘void0’ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:73618:30: note: in expansion of macro ‘__Pyx_check_single_interpreter’ 73618 | static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘__pyx_pf_5rados_5Watch_8_callback’, inlined from ‘__pyx_pw_5rados_5Watch_9_callback’ at /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:37233:13: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:37505:16: warning: ‘__pyx_v__replaylen’ may be used uninitialized [-Wmaybe-uninitialized] 37505 | (void)(rados_notify_ack(__pyx_v__io, __pyx_v__obj, __pyx_v__notify_id, __pyx_v__cookie, __pyx_v__replay, __pyx_v__replaylen)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c: In function ‘__pyx_pw_5rados_5Watch_9_callback’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.c:37248:14: note: ‘__pyx_v__replaylen’ was declared here 37248 | Py_ssize_t __pyx_v__replaylen; | ^~~~~~~~~~~~~~~~~~ /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage-v1.0/build/lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/pyrex/rados.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rados.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rados.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages running install_egg_info running egg_info creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.egg-info writing /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.egg-info/SOURCES.txt' Copying /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rados/rados.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages/rados-2.0.0-py3.10.egg-info running install_scripts writing list of installed files to '/dev/null' running build running build_ext cythoning rbd.pyx to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex /usr/lib64/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/dsms-storage-v1.0/src/pybind/rbd/rbd.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'rbd' extension creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage-v1.0 creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage-v1.0/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage-v1.0/build/src creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex /usr/bin/gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c -o /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.o -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_pf_3rbd_3RBD_6list’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:14197:13: warning: ‘rbd_list’ is deprecated [-Wdeprecated-declarations] 14197 | __pyx_v_ret = rbd_list(__pyx_v__ioctx, __pyx_v_c_names, (&__pyx_v_size)); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:752: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.h:394:18: note: declared here 394 | CEPH_RBD_API int rbd_list(rados_ioctx_t io, char *names, size_t *size) | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_pf_3rbd_3RBD_102namespace_exists’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:30983:76: warning: passing argument 3 of ‘rbd_namespace_exists’ from incompatible pointer type [-Wincompatible-pointer-types] 30983 | __pyx_v_ret = rbd_namespace_exists(__pyx_v__ioctx, __pyx_v__name, (&__pyx_v__exists)); | ~^~~~~~~~~~~~~~~~~ | | | int * /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.h:1378:45: note: expected ‘_Bool *’ but argument is of type ‘int *’ 1378 | bool *exists); | ^ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_gb_3rbd_20PoolMetadataIterator_4generator4’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:37964:29: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 37964 | __pyx_t_3 = ((__pyx_t_2 < __pyx_cur_scope->__pyx_v_self->max_read) != 0); | ^ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_pf_3rbd_5Image_78snap_exists’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:52563:76: warning: passing argument 3 of ‘rbd_snap_exists’ from incompatible pointer type [-Wincompatible-pointer-types] 52563 | __pyx_v_ret = rbd_snap_exists(__pyx_v_self->image, __pyx_v__name, (&__pyx_v__exists)); | ~^~~~~~~~~~~~~~~~~ | | | int * /builddir/build/BUILD/dsms-storage-v1.0/src/include/rbd/librbd.h:783:81: note: expected ‘_Bool *’ but argument is of type ‘int *’ 783 | CEPH_RBD_API int rbd_snap_exists(rbd_image_t image, const char *snapname, bool *exists); | ^ In file included from /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:750: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_pf_3rbd_5Image_90set_snap_by_id’: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.h:168:29: warning: overflow in conversion from ‘long unsigned int’ to ‘int’ changes value from ‘18446744073709551614’ to ‘-2’ [-Woverflow] 168 | #define LIBRADOS_SNAP_HEAD ((uint64_t)(-2)) | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:53577:38: note: in expansion of macro ‘LIBRADOS_SNAP_HEAD’ 53577 | __pyx_t_3 = __Pyx_PyInt_From_int(LIBRADOS_SNAP_HEAD); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 4336, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c: In function ‘__pyx_gb_3rbd_16MetadataIterator_4generator8’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:72293:29: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘uint64_t’ {aka ‘long unsigned int’} [-Wsign-compare] 72293 | __pyx_t_3 = ((__pyx_t_2 < __pyx_cur_scope->__pyx_v_self->max_read) != 0); | ^ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c: At top level: : warning: ‘dead_function’ defined but not used [-Wunused-function] : note: in expansion of macro ‘void0’ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.c:86815:30: note: in expansion of macro ‘__Pyx_check_single_interpreter’ 86815 | static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage-v1.0/build/lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/pyrex/rbd.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrbd -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib copying /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages running install_egg_info running egg_info creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.egg-info writing /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.egg-info/SOURCES.txt' Copying /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rbd/rbd.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages/rbd-2.0.0-py3.10.egg-info running install_scripts writing list of installed files to '/dev/null' running build running build_ext cythoning cephfs.pyx to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex /usr/lib64/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/dsms-storage-v1.0/src/pybind/cephfs/cephfs.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'cephfs' extension creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage-v1.0 creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage-v1.0/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage-v1.0/build/src creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex /usr/bin/gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c -o /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.o -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c: In function ‘__pyx_pf_6cephfs_9LibCephFS_2__cinit__’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c:5935:3: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 5935 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/Python.h:130, from /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c:6: /usr/include/python3.10/ceval.h:122:37: note: declared here 122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c: At top level: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c:32469:18: warning: ‘__pyx_convert__to_py_struct__timespec’ defined but not used [-Wunused-function] 32469 | static PyObject* __pyx_convert__to_py_struct__timespec(struct timespec s) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c:32453:18: warning: ‘__pyx_convert__to_py_struct__timeval’ defined but not used [-Wunused-function] 32453 | static PyObject* __pyx_convert__to_py_struct__timeval(struct timeval s) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : warning: ‘dead_function’ defined but not used [-Wunused-function] : note: in expansion of macro ‘void0’ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.c:27910:30: note: in expansion of macro ‘__Pyx_check_single_interpreter’ 27910 | static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage-v1.0/build/lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/pyrex/cephfs.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lcephfs -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib copying /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages running install_egg_info running egg_info creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.egg-info writing /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.egg-info/SOURCES.txt' Copying /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/cephfs/cephfs.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages/cephfs-2.0.0-py3.10.egg-info running install_scripts writing list of installed files to '/dev/null' running build running build_ext cythoning rgw.pyx to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.c creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex /usr/lib64/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/dsms-storage-v1.0/src/pybind/rgw/rgw.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'rgw' extension creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage-v1.0 creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage-v1.0/build creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage-v1.0/build/src creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex /usr/bin/gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.c -o /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.o -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.c: In function ‘__pyx_pf_3rgw_8LibRGWFS_2__cinit__’: /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.c:4194:3: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 4194 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/Python.h:130, from /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.c:6: /usr/include/python3.10/ceval.h:122:37: note: declared here 122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.c: At top level: : warning: ‘dead_function’ defined but not used [-Wunused-function] : note: in expansion of macro ‘void0’ /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.c:26974:30: note: in expansion of macro ‘__Pyx_check_single_interpreter’ 26974 | static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -shared -L/builddir/build/BUILD/dsms-storage-v1.0/build/lib -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage-v1.0/src/include -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/pyrex/rgw.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrados -lrgw -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib copying /builddir/build/BUILD/dsms-storage-v1.0/build/lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages running install_egg_info running egg_info creating /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.egg-info writing /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.egg-info/SOURCES.txt' Copying /builddir/build/BUILD/dsms-storage-v1.0/build/src/pybind/rgw/rgw.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages/rgw-2.0.0-py3.10.egg-info running install_scripts writing list of installed files to '/dev/null' -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/alerts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/alerts/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/alerts/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/balancer -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/balancer/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/balancer/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/HACKING.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/Vagrantfile -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/ceph.repo -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/inventory.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/migrations.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/remotes.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/serve.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/services/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/services/cephadmservice.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/services/container.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/services/iscsi.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/services/monitoring.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/services/nfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/services/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/template.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/blink_device_light_cmd.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/alertmanager -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/alertmanager/alertmanager.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/grafana -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/grafana/ceph-dashboard.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/grafana/grafana.ini.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/iscsi -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/iscsi/iscsi-gateway.cfg.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/upgrade.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/utils.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/cephadm/vagrant.config.example.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/crash -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/crash/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/crash/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/.coveragerc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/.editorconfig -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/.pylintrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/HACKING.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/README.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/awsauth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/cherrypy_backports.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/ci -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm/ceph_cluster.yml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm/start-cluster.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/check_grafana_uids.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/constraints.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/auth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/cephfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/cluster_configuration.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/crush_rule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/docs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/erasure_code_profile.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/frontend_logging.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/grafana.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/health.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/home.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/host.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/iscsi.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/logs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/mgr_modules.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/monitor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/nfsganesha.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/orchestrator.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/perf_counters.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/prometheus.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/rbd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/rbd_mirroring.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/rgw.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/role.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/saml2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/settings.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/summary.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/telemetry.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/user.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/exceptions.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/.editorconfig -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/.htmllintrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/.prettierignore -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/.prettierrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/angular.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/babel.config.js -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/browserslist -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/images.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/images.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/iscsi.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/iscsi.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/mirroring.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/mirroring.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/configuration.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/configuration.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/hosts.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/hosts.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/logs.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/logs.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/monitors.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/monitors.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/osds.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/osds.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems/filesystems.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems/filesystems.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs/nfs.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs/nfs.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/01-hosts.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/page-helper.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools/pools.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools/pools.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/buckets.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/buckets.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/daemons.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/daemons.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/users.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/users.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/dashboard.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/dashboard.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/notification.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/notification.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/role-mgmt.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/role-mgmt.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/user-mgmt.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/user-mgmt.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/support/commands.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/support/index.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/tsconfig.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/environment.build.js -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/html-linter.config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/i18n.config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/package-lock.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/package.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/proxy.conf.json.sample -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app-routing.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/block.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal/iscsi-target-iqn-settings-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal/iscsi-target-iqn-settings-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal/iscsi-target-iqn-settings-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal/iscsi-target-iqn-settings-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirror-health-color.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirror-health-color.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirroring.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-response.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-response.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-feature.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-clone-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-copy-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-create-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-edit-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-mode.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-response.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-parent.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-actions.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/ceph.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/cluster.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form-create-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-device.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-host.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-modules.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/devices-selection-change-event.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/devices-selection-clear-event.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/drive-group.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-feature.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram/osd-performance-histogram.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram/osd-performance-histogram.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram/osd-performance-histogram.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram/osd-performance-histogram.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.options.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list/monitoring-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list/monitoring-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list/monitoring-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list/monitoring-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/placement.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/placement.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card-popover.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mds-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mds-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mgr-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mgr-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mon-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mon-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/osd-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/osd-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-cluster-type.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form-data.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-stat.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-bucket-mfa-delete.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-bucket-versioning.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-capabilities.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-capability.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-s3-key.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-subuser.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-swift-key.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/ceph-shared.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_hdd_response.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_nvme_response.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/auth.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form-mode.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found/sso-not-found.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found/sso-not-found.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found/sso-not-found.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found/sso-not-found.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-mode.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-role.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/core.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/api.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/auth.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/auth.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/ceph-service.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/configuration.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/configuration.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/crush-rule.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/crush-rule.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/health.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/health.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/host.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/host.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/iscsi.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/iscsi.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logging.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logging.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/mgr-module.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/mgr-module.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/monitor.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/monitor.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/motd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/motd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/nfs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/nfs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/orchestrator.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/orchestrator.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/osd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/osd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/performance-counter.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/performance-counter.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/pool.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/pool.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/prometheus.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/prometheus.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd-mirroring.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd-mirroring.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-daemon.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-daemon.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-user.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-user.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/role.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/role.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/scope.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/scope.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/settings.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/settings.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/telemetry.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/telemetry.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/user.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/user.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/list-with-details.class.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/components.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.types.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.types.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/supported-languages.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification/pwd-expiration-notification.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification/pwd-expiration-notification.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification/pwd-expiration-notification.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification/pwd-expiration-notification.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select-messages.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select-option.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/constants -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators/cd-encode.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators/cd-encode.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/autofocus.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/autofocus.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/copy2clipboard-button.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/copy2clipboard-button.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary-per-second.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary-per-second.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/directives.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-input-disable.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-input-disable.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-scope.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-scope.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/iops.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/iops.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/milliseconds.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/milliseconds.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/password-button.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/password-button.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/trim.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/trim.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/cell-template.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/components.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/icons.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/notification-type.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/unix_errno.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/view-cache-status.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-builder.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-builder.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-group.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-group.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/alertmanager-silence.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/breadcrumbs.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-notification.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-notification.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-pwd-expiration-settings.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-pwd-policy-settings.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-action.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column-filter.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column-filters-change.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-fetch-data-context.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-selection.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-user-config.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cephfs-directory-models.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/chart-tooltip.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/configuration.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/credentials.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-node.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-rule.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-step.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/daemon.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/devices.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/erasure-code-profile.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/executing-task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/finished-task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/flag.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/image-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/login-response.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/mirroring-summary.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/permission.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/permissions.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/prometheus-alerts.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/service.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/smart.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/summary.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/task-exception.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/array.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/array.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean-text.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean-text.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/cd-date.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/cd-date.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-release-name.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-release-name.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-short-version.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-short-version.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary-per-second.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/duration.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/duration.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/empty.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/empty.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/encode-uri.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/encode-uri.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/filter.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/filter.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/health-color.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/health-color.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iops.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iops.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iscsi-backstore.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iscsi-backstore.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/join.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/join.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/log-priority.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/log-priority.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/map.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/map.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/milliseconds.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/milliseconds.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/not-available.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/not-available.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ordinal.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ordinal.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/rbd-configuration-source.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/rbd-configuration-source.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/relative-date.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/relative-date.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/round.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/round.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/sanitize-html.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/sanitize-html.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/truncate.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/truncate.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/upper-first.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/upper-first.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-storage.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-storage.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/change-password-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/change-password-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/dep-checker.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/dep-checker.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/device.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/device.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/doc.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/doc.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/formatter.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/formatter.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/js-error-handler.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/language.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/language.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/module-status-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/module-status-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/motd-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/motd-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/ngzone-scheduler.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/no-sso-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/no-sso-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/password-policy.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/password-policy.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert-formatter.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert-formatter.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-silence-matcher.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-silence-matcher.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/rbd-configuration.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/rbd-configuration.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/refresh-interval.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/refresh-interval.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/summary.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/summary.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-list.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-list.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-manager.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-manager.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-message.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-message.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-wrapper.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-wrapper.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/telemetry-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/telemetry-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/text-to-download.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/text-to-download.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/time-diff.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/time-diff.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/timer.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/timer.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/url-builder.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/url-builder.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/shared.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/.gitkeep -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/1500px-Southern_Keeled_Octopus.jpg -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Stacked_RGB_120411_fa_228x228.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Stacked_RGB_120411_fa_348x348.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Stacked_RGB_White_120411_fa_256x256.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Standard_RGB_Reversed_120411_fa.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Standard_RGB_White_120411_fa.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/ceph_background.gif -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/loading.gif -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/logo-mini.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/notification-icons.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/prometheus_logo.svg -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/environments -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/environments/environment.tpl.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/favicon.ico -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/index.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/jestGlobalMocks.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.cs.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.de-DE.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.es-ES.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.fr-FR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.id-ID.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.it-IT.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.ja-JP.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.ko-KR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.pl-PL.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.pt-BR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.zh-CN.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.zh-TW.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/main.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/polyfills.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/setupJest.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/bootstrap-extends.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/chart-tooltip.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/defaults.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/vendor.overrides.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/vendor.variables.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/testing -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/testing/activated-route-stub.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/testing/unit-test-helper.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/tsconfig.app.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/typings.d.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/tsconfig.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/tsconfig.spec.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/tslint.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/grafana.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/openapi.yaml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/debug.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/feature_toggles.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/interfaces.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/lru_cache.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/motd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/pluggy.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/plugin.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/ttl_cache.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/requirements-lint.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/requirements-test.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/rest_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/run-backend-api-request.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/run-backend-api-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/run-backend-rook-api-request.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/run-frontend-e2e-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/run-frontend-unittests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/security.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/access_control.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/auth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/ceph_service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/cephfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/cephx.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/exception.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/ganesha.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/iscsi_cli.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/iscsi_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/iscsi_config.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/orchestrator.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/progress.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/rbd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/rgw_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/sso.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/services/tcmu_service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/settings.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/dashboard/tools.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/devicehealth -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/devicehealth/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/devicehealth/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_mon_osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/db_relay.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_agent.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_disk.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_host.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/predictor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/client_pb2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/client_pb2_grpc.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/clusterdata.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/cypher.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/server.crt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_1.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_10.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_104.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_105.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_109.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_112.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_114.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_115.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_118.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_119.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_12.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_120.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_123.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_124.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_125.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_128.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_131.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_134.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_138.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_14.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_141.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_145.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_151.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_16.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_161.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_168.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_169.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_174.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_18.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_182.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_185.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_186.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_195.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_201.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_204.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_206.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_208.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_210.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_212.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_213.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_219.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_221.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_222.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_223.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_225.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_227.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_229.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_230.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_234.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_235.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_236.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_239.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_243.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_27.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_3.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_33.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_36.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_44.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_50.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_57.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_59.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_6.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_61.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_62.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_67.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_69.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_71.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_72.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_78.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_79.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_82.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_85.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_88.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_93.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_97.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/hgst_predictor.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/hgst_scaler.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/seagate_predictor.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/seagate_scaler.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/predictor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/hello -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/influx -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/influx/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/influx/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/insights -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/insights/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/insights/health.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/insights/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/insights/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/iostat -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/iostat/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/iostat/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/k8sevents -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/k8sevents/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/k8sevents/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/k8sevents/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/k8sevents/rbac_sample.yaml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/localpool -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/localpool/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/localpool/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/mgr_module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/mgr_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/orchestrator/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/orchestrator/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/orchestrator/_interface.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/orchestrator/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/orchestrator/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/osd_perf_query -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/osd_support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/osd_support/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/osd_support/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/pg_autoscaler -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/pg_autoscaler/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/pg_autoscaler/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/pg_autoscaler/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/progress -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/progress/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/progress/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/progress/test_progress.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/prometheus/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/prometheus/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support/common.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support/mirror_snapshot_schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support/perf.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support/schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rbd_support/trash_purge_schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/config.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/crush.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/doc.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/mon.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/perf.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/request.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/api/server.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/common.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/context.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/decorators.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/hooks.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/restful/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/generate_rook_ceph_client.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/_helper.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephclient.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephcluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephfilesystem.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephnfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephobjectstore.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/selftest -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/selftest/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/selftest/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/status -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/status/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/status/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telegraf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telegraf/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telegraf/basesocket.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telegraf/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telegraf/protocol.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telegraf/utils.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telemetry -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telemetry/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/telemetry/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/test_orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/test_orchestrator/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/test_orchestrator/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/test_orchestrator/dummy_data.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/test_orchestrator/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/async_cloner.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/async_job.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/exception.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/fs_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/nfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/access.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/clone_index.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/group.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/index.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/lock.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/pin_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/rankevicter.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/resolver.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/snapshot_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/subvolume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/template.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/trash.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/auth_metadata.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/metadata_manager.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/op_sm.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_attrs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_base.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_v1.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_v2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/volume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/purge_queue.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/vol_spec.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/fs/volume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/volumes/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/zabbix -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/zabbix/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/zabbix/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/ceph/mgr/zabbix/zabbix_template.xml running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib creating build/lib/ceph_volume copying ceph_volume/__init__.py -> build/lib/ceph_volume copying ceph_volume/configuration.py -> build/lib/ceph_volume copying ceph_volume/decorators.py -> build/lib/ceph_volume copying ceph_volume/exceptions.py -> build/lib/ceph_volume copying ceph_volume/log.py -> build/lib/ceph_volume copying ceph_volume/main.py -> build/lib/ceph_volume copying ceph_volume/process.py -> build/lib/ceph_volume copying ceph_volume/terminal.py -> build/lib/ceph_volume creating build/lib/ceph_volume/api copying ceph_volume/api/__init__.py -> build/lib/ceph_volume/api copying ceph_volume/api/lvm.py -> build/lib/ceph_volume/api creating build/lib/ceph_volume/devices copying ceph_volume/devices/__init__.py -> build/lib/ceph_volume/devices creating build/lib/ceph_volume/drive_group copying ceph_volume/drive_group/__init__.py -> build/lib/ceph_volume/drive_group copying ceph_volume/drive_group/main.py -> build/lib/ceph_volume/drive_group creating build/lib/ceph_volume/inventory copying ceph_volume/inventory/__init__.py -> build/lib/ceph_volume/inventory copying ceph_volume/inventory/main.py -> build/lib/ceph_volume/inventory creating build/lib/ceph_volume/systemd copying ceph_volume/systemd/__init__.py -> build/lib/ceph_volume/systemd copying ceph_volume/systemd/main.py -> build/lib/ceph_volume/systemd copying ceph_volume/systemd/systemctl.py -> build/lib/ceph_volume/systemd creating build/lib/ceph_volume/tests copying ceph_volume/tests/__init__.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/conftest.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_configuration.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_decorators.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_inventory.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_main.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_process.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_terminal.py -> build/lib/ceph_volume/tests creating build/lib/ceph_volume/util copying ceph_volume/util/__init__.py -> build/lib/ceph_volume/util copying ceph_volume/util/arg_validators.py -> build/lib/ceph_volume/util copying ceph_volume/util/constants.py -> build/lib/ceph_volume/util copying ceph_volume/util/device.py -> build/lib/ceph_volume/util copying ceph_volume/util/disk.py -> build/lib/ceph_volume/util copying ceph_volume/util/encryption.py -> build/lib/ceph_volume/util copying ceph_volume/util/lsmdisk.py -> build/lib/ceph_volume/util copying ceph_volume/util/prepare.py -> build/lib/ceph_volume/util copying ceph_volume/util/system.py -> build/lib/ceph_volume/util copying ceph_volume/util/templates.py -> build/lib/ceph_volume/util creating build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/__init__.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/activate.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/batch.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/common.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/create.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/deactivate.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/listing.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/main.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/migrate.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/prepare.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/trigger.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/zap.py -> build/lib/ceph_volume/devices/lvm creating build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/__init__.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/activate.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/common.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/list.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/main.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/prepare.py -> build/lib/ceph_volume/devices/raw creating build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/__init__.py -> build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/activate.py -> build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/main.py -> build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/scan.py -> build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/trigger.py -> build/lib/ceph_volume/devices/simple creating build/lib/ceph_volume/tests/devices copying ceph_volume/tests/devices/__init__.py -> build/lib/ceph_volume/tests/devices copying ceph_volume/tests/devices/test_zap.py -> build/lib/ceph_volume/tests/devices creating build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/__init__.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_activate.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_batch.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_common.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_create.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_deactivate.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_listing.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_migrate.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_prepare.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_trigger.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_zap.py -> build/lib/ceph_volume/tests/devices/lvm creating build/lib/ceph_volume/tests/devices/raw copying ceph_volume/tests/devices/raw/__init__.py -> build/lib/ceph_volume/tests/devices/raw copying ceph_volume/tests/devices/raw/test_list.py -> build/lib/ceph_volume/tests/devices/raw copying ceph_volume/tests/devices/raw/test_prepare.py -> build/lib/ceph_volume/tests/devices/raw running install_lib creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/configuration.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/decorators.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/exceptions.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/log.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/process.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/terminal.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api copying build/lib/ceph_volume/api/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api copying build/lib/ceph_volume/api/lvm.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices copying build/lib/ceph_volume/devices/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/activate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/batch.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/common.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/create.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/deactivate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/listing.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/migrate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/trigger.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/zap.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/activate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/common.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/list.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/activate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/scan.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/trigger.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group copying build/lib/ceph_volume/drive_group/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group copying build/lib/ceph_volume/drive_group/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory copying build/lib/ceph_volume/inventory/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory copying build/lib/ceph_volume/inventory/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/systemctl.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/conftest.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_configuration.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_decorators.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_inventory.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_process.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_terminal.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices copying build/lib/ceph_volume/tests/devices/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices copying build/lib/ceph_volume/tests/devices/test_zap.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_activate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_batch.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_common.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_create.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_deactivate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_listing.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_migrate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_trigger.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_zap.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw copying build/lib/ceph_volume/tests/devices/raw/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw copying build/lib/ceph_volume/tests/devices/raw/test_list.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw copying build/lib/ceph_volume/tests/devices/raw/test_prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/arg_validators.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/constants.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/device.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/disk.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/encryption.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/lsmdisk.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/system.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/templates.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/configuration.py to configuration.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/decorators.py to decorators.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/exceptions.py to exceptions.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/log.py to log.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/process.py to process.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/terminal.py to terminal.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api/lvm.py to lvm.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/activate.py to activate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/batch.py to batch.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/common.py to common.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/create.py to create.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/deactivate.py to deactivate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/listing.py to listing.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/migrate.py to migrate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/prepare.py to prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/trigger.py to trigger.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/zap.py to zap.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/activate.py to activate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/common.py to common.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/list.py to list.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/prepare.py to prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/activate.py to activate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/scan.py to scan.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/trigger.py to trigger.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/systemctl.py to systemctl.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/conftest.py to conftest.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_configuration.py to test_configuration.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_decorators.py to test_decorators.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_inventory.py to test_inventory.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_main.py to test_main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_process.py to test_process.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_terminal.py to test_terminal.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/test_zap.py to test_zap.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_activate.py to test_activate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_batch.py to test_batch.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_common.py to test_common.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_create.py to test_create.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_deactivate.py to test_deactivate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_listing.py to test_listing.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_migrate.py to test_migrate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_prepare.py to test_prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_trigger.py to test_trigger.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_zap.py to test_zap.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_list.py to test_list.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_prepare.py to test_prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/arg_validators.py to arg_validators.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/constants.py to constants.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/device.py to device.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/disk.py to disk.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/encryption.py to encryption.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/lsmdisk.py to lsmdisk.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/prepare.py to prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/system.py to system.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/templates.py to templates.cpython-310.pyc running install_egg_info running egg_info creating ceph_volume.egg-info writing ceph_volume.egg-info/PKG-INFO writing dependency_links to ceph_volume.egg-info/dependency_links.txt writing entry points to ceph_volume.egg-info/entry_points.txt writing requirements to ceph_volume.egg-info/requires.txt writing top-level names to ceph_volume.egg-info/top_level.txt writing manifest file 'ceph_volume.egg-info/SOURCES.txt' reading manifest file 'ceph_volume.egg-info/SOURCES.txt' writing manifest file 'ceph_volume.egg-info/SOURCES.txt' Copying ceph_volume.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume-1.0.0-py3.10.egg-info running install_scripts Installing ceph-volume script to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin Installing ceph-volume-systemd script to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib creating build/lib/ceph copying ceph/__init__.py -> build/lib/ceph copying ceph/exceptions.py -> build/lib/ceph copying ceph/utils.py -> build/lib/ceph creating build/lib/ceph/deployment copying ceph/deployment/__init__.py -> build/lib/ceph/deployment copying ceph/deployment/drive_group.py -> build/lib/ceph/deployment copying ceph/deployment/hostspec.py -> build/lib/ceph/deployment copying ceph/deployment/inventory.py -> build/lib/ceph/deployment copying ceph/deployment/service_spec.py -> build/lib/ceph/deployment copying ceph/deployment/translate.py -> build/lib/ceph/deployment copying ceph/deployment/utils.py -> build/lib/ceph/deployment creating build/lib/ceph/tests copying ceph/tests/__init__.py -> build/lib/ceph/tests copying ceph/tests/factories.py -> build/lib/ceph/tests copying ceph/tests/test_datetime.py -> build/lib/ceph/tests copying ceph/tests/test_disk_selector.py -> build/lib/ceph/tests copying ceph/tests/test_drive_group.py -> build/lib/ceph/tests copying ceph/tests/test_inventory.py -> build/lib/ceph/tests copying ceph/tests/test_service_spec.py -> build/lib/ceph/tests copying ceph/tests/test_utils.py -> build/lib/ceph/tests copying ceph/tests/utils.py -> build/lib/ceph/tests creating build/lib/ceph/deployment/drive_selection copying ceph/deployment/drive_selection/__init__.py -> build/lib/ceph/deployment/drive_selection copying ceph/deployment/drive_selection/filter.py -> build/lib/ceph/deployment/drive_selection copying ceph/deployment/drive_selection/matchers.py -> build/lib/ceph/deployment/drive_selection copying ceph/deployment/drive_selection/selector.py -> build/lib/ceph/deployment/drive_selection running install_lib creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/exceptions.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/drive_group.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/hostspec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/inventory.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/service_spec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/translate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection copying build/lib/ceph/deployment/drive_selection/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection copying build/lib/ceph/deployment/drive_selection/filter.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection copying build/lib/ceph/deployment/drive_selection/matchers.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection copying build/lib/ceph/deployment/drive_selection/selector.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection creating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/factories.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_datetime.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_disk_selector.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_drive_group.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_inventory.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_service_spec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/exceptions.py to exceptions.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_group.py to drive_group.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/hostspec.py to hostspec.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/inventory.py to inventory.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/service_spec.py to service_spec.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/translate.py to translate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/filter.py to filter.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/matchers.py to matchers.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/selector.py to selector.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/factories.py to factories.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_datetime.py to test_datetime.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_disk_selector.py to test_disk_selector.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_drive_group.py to test_drive_group.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_inventory.py to test_inventory.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_service_spec.py to test_service_spec.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_utils.py to test_utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/utils.py to utils.cpython-310.pyc running install_egg_info running egg_info creating ceph.egg-info writing ceph.egg-info/PKG-INFO writing dependency_links to ceph.egg-info/dependency_links.txt writing requirements to ceph.egg-info/requires.txt writing top-level names to ceph.egg-info/top_level.txt writing manifest file 'ceph.egg-info/SOURCES.txt' reading manifest file 'ceph.egg-info/SOURCES.txt' writing manifest file 'ceph.egg-info/SOURCES.txt' Copying ceph.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph-1.0.0-py3.10.egg-info running install_scripts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-bluestore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-bluestore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_generic.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_sse3.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_sse4.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_lrc.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_generic.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_sse3.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_sse4.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_clay.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_isa.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_snappy.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_snappy.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_snappy.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_zlib.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_zlib.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_zlib.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_zstd.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_zstd.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_zstd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_lz4.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_lz4.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_lz4.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rados -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rados" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osdomap-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osdomap-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-monstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-monstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-objectstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-objectstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-kvstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-kvstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-conf -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-conf" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/crushtool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/crushtool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/monmaptool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/monmaptool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/osdmaptool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/osdmaptool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-diff-sorted -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-authtool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-authtool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-journal-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-journal-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-table-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-table-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-data-scan -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-data-scan" to "/usr/lib64/ceph" running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running build_scripts creating build creating build/scripts-3.10 copying and adjusting cephfs-shell -> build/scripts-3.10 changing mode of build/scripts-3.10/cephfs-shell from 644 to 755 running install_lib running install_egg_info warning: install_lib: 'build/lib' does not exist -- no Python modules to install running egg_info creating cephfs_shell.egg-info writing cephfs_shell.egg-info/PKG-INFO writing dependency_links to cephfs_shell.egg-info/dependency_links.txt writing requirements to cephfs_shell.egg-info/requires.txt writing top-level names to cephfs_shell.egg-info/top_level.txt writing manifest file 'cephfs_shell.egg-info/SOURCES.txt' reading manifest file 'cephfs_shell.egg-info/SOURCES.txt' writing manifest file 'cephfs_shell.egg-info/SOURCES.txt' Copying cephfs_shell.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/cephfs_shell-0.0.1-py3.10.egg-info running install_scripts copying build/scripts-3.10/cephfs-shell -> /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-shell to 755 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-mirror -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-mirror" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-nbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-nbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-immutable-object-cache -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-immutable-object-cache" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-dencoder -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-dencoder" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-erasure-code-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-erasure-code-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_openssl.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_isal.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_isal.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_isal.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/bash_completion.d/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/bash_completion.d/rados -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/bash_completion.d/rbd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/bash_completion.d/radosgw-admin -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/mount.ceph -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/mount.ceph" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd.so.1.12.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd.so.1 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd.so.1.12.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-fuse -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-fuse" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay-prep -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay-prep" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_kvs.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_kvs.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_kvs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosgw.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosgw.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosgw.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-admin -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-admin" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-es -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-es" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-token -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-token" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-object-expirer -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-object-expirer" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-gap-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-gap-list-comparator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-orphan-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-syn.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-conf.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-authtool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-kvstore-tool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rados.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-post-file.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-dencoder.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-deploy.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/crushtool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-run.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/mount.ceph.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-create-keys.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-clsinfo.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-volume.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-volume-systemd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-osd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/osdmaptool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-bluestore-tool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-mon.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/monmaptool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-mds.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/librados-config.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/cephadm.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-fuse.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rbd-fuse.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/radosgw.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/radosgw-admin.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rgw-orphan-list.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-diff-sorted.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-rbdnamer.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rbd-mirror.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rbd-replay-many.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rbd-replay-prep.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rbd-replay.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rbdmap.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rbd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/rbd-nbd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph-immutable-object-cache.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/man/man8/ceph_selinux.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-crash.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-fuse@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-mds@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-mgr@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-mon@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-osd@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-radosgw@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-rbd-mirror@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-immutable-object-cache@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/rbdmap.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-fuse.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-osd.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-mgr.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-mon.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-mds.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-radosgw.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-rbd-mirror.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-immutable-object-cache.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system/ceph-volume@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/ceph-cluster.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/cephfs-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/host-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/hosts-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/osd-device-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/osds-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/pool-detail.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/pool-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/radosgw-detail.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/radosgw-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/radosgw-sync-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/rbd-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/rbd-overview.json + rm -f /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64//etc/init.d/ceph + popd ~/build/BUILD/dsms-storage-v1.0 + install -m 0644 -D src/etc-rbdmap /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/ceph/rbdmap + install -m 0644 -D etc/sysconfig/ceph /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/sysconfig/ceph + install -m 0644 -D systemd/ceph.tmpfiles.d /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/tmpfiles.d/ceph-common.conf + install -m 0644 -D systemd/50-ceph.preset /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/systemd/system-preset/50-ceph.preset + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin + install -m 0644 -D src/logrotate.conf /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/logrotate.d/ceph + chmod 0644 /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/doc/ceph/sample.ceph.conf + install -m 0644 -D COPYING /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/doc/ceph/COPYING + install -m 0644 -D etc/sysctl/90-ceph-osd.conf /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/sysctl.d/90-ceph-osd.conf + install -m 0755 src/cephadm/cephadm /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/cephadm + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/cephadm + chmod 0700 /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/cephadm + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/cephadm/.ssh + chmod 0700 /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/cephadm/.ssh + touch /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/cephadm/.ssh/authorized_keys + chmod 0600 /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/cephadm/.ssh/authorized_keys + install -m 0644 -D udev/50-rbd.rules /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/udev/rules.d/50-rbd.rules + install -m 0440 -D sudoers.d/ceph-osd-smartctl /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/sudoers.d/ceph-osd-smartctl + pathfix.py -pni '/usr/bin/python3 -s' /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-authtool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-bluestore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-clsinfo /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-conf /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-crash /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-dencoder /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-diff-sorted /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-erasure-code-tool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-fuse /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-immutable-object-cache /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-kvstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mds /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mgr /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mon /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-monstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-objectstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osd /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osdomap-tool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-post-file /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-rbdnamer /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-run /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-syn /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-data-scan /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-journal-tool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-shell /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-table-tool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/crushtool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/librados-config /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/monmaptool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/osdmaptool /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rados /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-admin /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-es /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-object-expirer /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-token /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-fuse /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-mirror /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-nbd /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay-many /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay-prep /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbdmap /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-gap-list /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-gap-list-comparator /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-orphan-list /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph: updating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-authtool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-bluestore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-clsinfo: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-conf: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-crash: updating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-dencoder: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-diff-sorted: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-erasure-code-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-fuse: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-immutable-object-cache: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-kvstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mds: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mgr: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mon: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-monstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-objectstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osdomap-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-post-file: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-rbdnamer: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-run: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-syn: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-data-scan: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-journal-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-shell: updating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-table-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/crushtool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/librados-config: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/monmaptool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/osdmaptool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rados: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-admin: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-es: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-object-expirer: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-token: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-fuse: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-mirror: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-nbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay-many: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay-prep: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbdmap: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-gap-list: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-gap-list-comparator: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rgw-orphan-list: no change + pathfix.py -pni '/usr/bin/python3 -s' /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/ceph-create-keys /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/ceph-volume /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/ceph-volume-systemd /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/cephadm /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/mount.ceph /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/mount.fuse.ceph /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/ceph-create-keys: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/ceph-volume: updating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/ceph-volume-systemd: updating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/cephadm: updating /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/mount.ceph: no change /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/mount.fuse.ceph: updating + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/run/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/log/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/tmp + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/mon + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/osd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/mds + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/mgr + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/crash + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/crash/posted + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/radosgw + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/bootstrap-osd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/bootstrap-mds + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/bootstrap-rgw + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/bootstrap-mgr + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/bootstrap-rbd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/var/lib/ceph/bootstrap-rbd-mirror + install -m 644 -D monitoring/prometheus/alerts/ceph_default_alerts.yml /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/etc/prometheus/ceph/ceph_default_alerts.yml + rm -rf /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64//usr/share/ceph/mgr/diskprediction_cloud + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=310 + '[' 310 -ge 39 ']' + py39_byte_compile /usr/bin/python3 /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64 -p / --hardlink-dupes /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_group.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/filter.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/matchers.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/selector.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/hostspec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/service_spec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/translate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/exceptions.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/factories.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_datetime.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_disk_selector.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_drive_group.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_service_spec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph/utils.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph-1.0.0-py3.10.egg-info'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_argparse.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_daemon.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api/lvm.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/configuration.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/decorators.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/batch.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/create.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/deactivate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/listing.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/migrate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/trigger.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/zap.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/list.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/prepare.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/scan.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/trigger.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/exceptions.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/log.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/process.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/systemctl.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/terminal.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/conftest.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_batch.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_create.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_deactivate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_listing.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_migrate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_trigger.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_zap.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_list.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/test_zap.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_configuration.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_decorators.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_process.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_terminal.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/arg_validators.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/constants.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/device.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/disk.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/encryption.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/lsmdisk.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/system.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/templates.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume-1.0.0-py3.10.egg-info'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume_client.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10/site-packages/cephfs_shell-0.0.1-py3.10.egg-info'... + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 1.0-1.an23 --unique-debug-suffix -1.0-1.an23.x86_64 --unique-debug-src-base dsms-storage-1.0-1.an23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/dsms-storage-v1.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-dencoder extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-bluestore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mgr extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-diff-sorted extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-es extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-token extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_openssl.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-erasure-code-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mds extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados_tp.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-data-scan extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-conf extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-osdomap-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_snappy.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_sse3.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_zlib.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_sse4.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-fuse extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay-prep extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/osdmaptool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-monstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/monmaptool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librados.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-syn extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-kvstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_generic.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_lz4.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-replay extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-objectstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-journal-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_lock.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw_rados_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosstriper.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_lrc.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-admin extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-mon extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/librados-config extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_isal.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-nbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/compressor/libceph_zstd.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_isa.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_kvs.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rados extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-mirror extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libosd_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-immutable-object-cache extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_sse4.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librgw_op_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libradosgw.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages/rados.cpython-310-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/libceph-common.so.2 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_journal.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/ceph-authtool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages/cephfs.cpython-310-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/librbd.so.1.12.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_generic.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages/rbd.cpython-310-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_clay.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/radosgw-object-expirer extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_hello.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libos_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10/site-packages/rgw.cpython-310-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_cas.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd-fuse extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_cephfs.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_sse3.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/rbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_numops.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/cephfs-table-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_lua.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_log.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/bin/crushtool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/libcephfs.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_otp.so.1.0.0 Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_queue.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rbd.so.1.0.0 Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_refcount.so.1.0.0 Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rgw.so.1.0.0 Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_rgw_gc.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_sdk.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_timeindex.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_user.so.1.0.0 Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/rados-classes/libcls_version.so.1.0.0 Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/sbin/mount.ceph Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. 91503 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files Warning: unused libraries in /usr/lib64/libcephfs.so.2.0.0: libcrypto.so.3 libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/lib64/librados.so.2.0.0: libblkid.so.1 libcrypto.so.3 libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/lib64/libradosstriper.so.1.0.0: libcrypto.so.3 libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/lib64/librbd.so.1.12.0: libresolv.so.2 libudev.so.1 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/lib64/libradosgw.so.2.0.0: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 liblber.so.2 liboath.so.0 Warning: unused libraries in /usr/lib64/librgw.so.2.0.0: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liblber.so.2 liboath.so.0 Warning: unused libraries in /usr/lib64/ceph/libceph-common.so.2: libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_regex.so.1.81.0 Warning: unused libraries in /usr/lib64/ceph/erasure-code/libec_jerasure.so: libm.so.6 Warning: unused libraries in /usr/lib64/ceph/erasure-code/libec_shec.so: libm.so.6 Warning: unused libraries in /usr/lib64/ceph/erasure-code/libec_isa.so: libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/rados.cpython-310-x86_64-linux-gnu.so: libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/rbd.cpython-310-x86_64-linux-gnu.so: libcrypt.so.2 libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/cephfs.cpython-310-x86_64-linux-gnu.so: libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/rgw.cpython-310-x86_64-linux-gnu.so: libcrypt.so.2 libm.so.6 Warning: unused libraries in /usr/bin/ceph-mon: libresolv.so.2 libaio.so.1 libfuse3.so.3 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-osd: libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_regex.so.1.81.0 Warning: unused libraries in /usr/bin/ceph-mds: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libresolv.so.2 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-syn: libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-fuse: libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-mgr: libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-bluestore-tool: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/rados: libceph-common.so.2 libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-osdomap-tool: libfuse3.so.3 libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/ceph-monstore-tool: libfuse3.so.3 libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/ceph-objectstore-tool: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/ceph-kvstore-tool: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/ceph-conf: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/crushtool: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/monmaptool: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/osdmaptool: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/ceph-authtool: libcrypto.so.3 libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/bin/cephfs-journal-tool: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/cephfs-table-tool: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/cephfs-data-scan: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/rbd: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libcrypto.so.3 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/rbd-mirror: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/rbd-nbd: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/ceph-immutable-object-cache: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/ceph-dencoder: libfuse3.so.3 libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liblber.so.2 liboath.so.0 libkeyutils.so.1 Warning: unused libraries in /usr/bin/ceph-erasure-code-tool: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/rbd-fuse: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/rbd-replay: libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/rbd-replay-prep: libboost_date_time.so.1.81.0 libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/radosgw: libresolv.so.2 libcurl.so.4 libexpat.so.1 libblkid.so.1 libtcmalloc.so.4 libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libstdc++.so.6 libm.so.6 libgcc_s.so.1 Warning: unused libraries in /usr/bin/radosgw-admin: libblkid.so.1 libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liblber.so.2 Warning: unused libraries in /usr/bin/radosgw-es: libblkid.so.1 libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liblber.so.2 liboath.so.0 Warning: unused libraries in /usr/bin/radosgw-token: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: unused libraries in /usr/bin/radosgw-object-expirer: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liblber.so.2 liboath.so.0 Warning: unused libraries in /usr/sbin/mount.ceph: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 libm.so.6 Warning: undefined symbols in /usr/lib64/libcephfs.so.2.0.0: _ZTI7Message _ZTI6Thread _ZTIN4ceph6common16RefCountedObjectE _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE MDS_GID_NONE _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTV7Message _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN10shard_id_t8NO_SHARDE _ZTIN4ceph6buffer7v15_2_05errorE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZNK13metric_spec_t6encodeERN4ceph6buffer7v15_2_04listE _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _ZNK4ceph6buffer7v15_2_04listixEj _ZN4ceph6buffer7v15_2_04copyEPKcj _ZNK8Objecter16osdmap_pool_fullEl _ZNK5FSMap10parse_roleESt17basic_string_viewIcSt11char_traitsIcEEP10mds_role_tRSo _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN9MonClientD1Ev _ZN9Readahead20set_trigger_requestsEi _ZN16feature_bitset_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZlsRSoRK13entity_addr_t _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN9MonClientC1EPN4ceph6common11CephContextE _ZNK13entity_addr_t4dumpEPN4ceph9FormatterE _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _Z18ceph_lease_op_namei _Z20ceph_session_op_namei _ZN13metric_spec_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9ReadaheadD1Ev _Z17ceph_frag_comparejj _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN9Readahead14set_alignmentsERKSt6vectorImSaImEE _ZN8ObjecterC1EPN4ceph6common11CephContextEP9MessengerP9MonClientP8Finisher _ZN8Objecter5startEPK6OSDMap _ZNK6Thread10is_startedEv _ZN4ceph6buffer7v15_2_03ptrC1EOS2_ _ZNK13file_layout_t9to_legacyEP16ceph_file_layout _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZNK6OSDMap18make_object_layoutE8object_tiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z19ceph_version_to_strv _ZNK21snaprealm_reconnect_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8Finisher14wait_for_emptyEv _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN8Objecter4initEv _ZNK6MDSMap14get_up_mds_setERSt3setIiSt4lessIiESaIiEE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _Z21ceph_entity_type_namei _ZN13SnapRealmInfo6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_03ptraSERKS2_ _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZNK6OSDMap14is_blacklistedERK16entity_addrvec_t _ZN8Objecter8shutdownEv _ZNK6MDSMap20is_cluster_availableEv _ZN15cap_reconnect_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN17ceph_lock_state_t11remove_lockE13ceph_filelockRNSt7__cxx114listIS0_SaIS0_EEE _ZNK5FSMap12get_mds_infoEv _ZN8Objecter24consume_blacklist_eventsEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZNK15cap_reconnect_t10encode_oldERN4ceph6buffer7v15_2_04listE _ZN9ReadaheadC1Ev _ZNK13entity_inst_t4dumpEPN4ceph9FormatterE _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN8Objecter16op_cancel_writesEil _ZN16feature_bitset_tmIERKS_ _ZNK21snaprealm_reconnect_t10encode_oldERN4ceph6buffer7v15_2_04listE _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z19ceph_flags_sys2wirei _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZN13file_layout_t11from_legacyERK16ceph_file_layout _ZN4ceph6buffer7v15_2_03ptraSEOS2_ _Z16ceph_cap_op_namei _Z13ceph_str_hashiPKcj _ZN8Objecter15_sg_read_finishERSt6vectorI12ObjectExtentSaIS1_EERS0_IN4ceph6buffer7v15_2_04listESaIS8_EEPS8_P7Context _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6buffer7v15_2_04list11append_zeroEj _ZN4ceph6buffer7v15_2_04list7rebuildEv _ZN4ceph6buffer7v15_2_03ptrC2Ej _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph6common10cmd_getvalERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5boost7variantIS7_JbldSt6vectorIS7_SaIS7_EESA_IlSaIlEESA_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SH_EEERSL_Rb _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrE _ZN9Readahead11dec_pendingEi _ZN4ceph6buffer7v15_2_03ptrC1EPKcj _ZNK16feature_bitset_t5printERSo _ZN9SafeTimer4initEv _ZN4ceph6common11CephContext3putEv _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN9SafeTimer8shutdownEv _ZN8Objecter17set_epoch_barrierEj _ZN16feature_bitset_tC1Em _ZN21snaprealm_reconnect_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZlsRSoPK8sockaddr _ZNK16entity_addrvec_t4dumpEPN4ceph9FormatterE _ZN8Objecter12get_fs_statsER11ceph_statfsN5boost8optionalIlEEP7Context _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6MDSMap6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _Z4dumpRK15ceph_dir_layoutPN4ceph9FormatterE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN8Objecter9op_submitEPNS_2OpEPmPi _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN9MonClient21get_monmap_and_configEv _ZN8Objecter22wait_for_latest_osdmapEP7Context _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjPc _Z18ceph_flags_to_modei _Z18ceph_caps_for_modei _ZN8Objecter8have_mapEj _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _Z18common_init_finishPN4ceph6common11CephContextE _ZN6Thread6createEPKcm _ZNK10EntityName6get_idB5cxx11Ev _ZN17ceph_lock_state_t8add_lockER13ceph_filelockbbPb _ZNK12CrushWrapper25get_full_location_orderedEiRSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ESaIS8_EE _ZN9MonClient8shutdownEv _ZNK5FSMap20find_mds_gid_by_nameESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6common12PerfCountersD1Ev _Z16ceph_mds_op_namei _ZN15cap_reconnect_t10decode_oldERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Readahead11inc_pendingEi _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZNK16feature_bitset_t6encodeERN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZN4ceph6common19PerfCountersBuilder8add_timeEiPKcS3_S3_i _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt6vectorI12ObjectExtentSaISA_EEm _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN4ceph6buffer7v15_2_04list6spliceEjjPS2_ _ZNK4ceph6buffer7v15_2_04list16get_wasted_spaceEv _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9Readahead22set_max_readahead_sizeEm _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _ZN4ceph6buffer7v15_2_04list5claimERS2_ _ZN9Readahead22set_min_readahead_sizeEm _ZN9SafeTimer12cancel_eventEP7Context _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjRS2_ _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN17ceph_lock_state_tD1Ev _Z19ceph_str_hash_validi _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZNK8Objecter16osdmap_full_flagEv _ZN8Objecter12wait_for_mapEjP7Contexti _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4seekEj _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_ _Z19ceph_str_hash_linuxPKcj _ZN21snaprealm_reconnect_t10decode_oldERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z18git_version_to_strv _ZNK5FSMap13print_summaryEPN4ceph9FormatterEPSo _ZN9Readahead22get_min_readahead_sizeEv _ZN16feature_bitset_tC1ERKSt6vectorImSaImEE _ZN8Objecter17maybe_request_mapEv _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZlsRSoRK12quota_info_t _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Objecter23enable_blacklist_eventsEv _ZN8Finisher4stopEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN9Readahead22get_max_readahead_sizeEv _ZN18CephInitParametersC1Ej _ZNK15cap_reconnect_t6encodeERN4ceph6buffer7v15_2_04listE _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN9Readahead6updateEmmm _ZNK6OSDMap14find_osd_on_ipERK13entity_addr_t _Z21pretty_version_to_strB5cxx11v _ZNK13file_layout_t4dumpEPN4ceph9FormatterE _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/librados.so.2.0.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/libradosstriper.so.1.0.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE _ZTV7Message _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN10shard_id_t8NO_SHARDE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _ZN11JSONObjIterdeEv _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN6ThreadD2Ev _ZN13file_layout_t11from_legacyERK16ceph_file_layout _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/librbd.so.1.12.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI10ThreadPool _ZTI9SafeTimer _ZN10ThreadPool18handle_conf_changeERKN4ceph6common11ConfigProxyERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessISB_ESaISB_EE _ZN10ThreadPool6workerEPNS_10WorkThreadE _ZTI6Thread _ZTIN4ceph6common16RefCountedObjectE _ZN4ceph11_page_shiftE _ZTVN4ceph6common16RefCountedObjectE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN9pg_pool_t20APPLICATION_NAME_RBDE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_05errorE _ZN7Striper15get_num_objectsERK13file_layout_tm _ZN4ceph6common12PerfCounters4tsetEi7utime_t _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9Readahead20set_trigger_requestsEi _ZN6ThreadC2Ev _ZN10ThreadPoolC2EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN4ceph6common12PerfCounters3setEim _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9SafeTimerD2Ev _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK4ceph6common12PerfCounters8get_nameB5cxx11Ev _ZN10ThreadPoolD2Ev _ZN9ReadaheadD1Ev _ZN14SimpleThrottle8start_opEv _ZN9Readahead14set_alignmentsERKSt6vectorImSaImEE _ZN15OrderedThrottleD1Ev _ZNK6Thread10is_startedEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN15OrderedThrottle8start_opEP7Context _Z19ceph_version_to_strv _ZN8Finisher14wait_for_emptyEv _ZN11md_config_tD1Ev _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN19TokenBucketThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmP9SafeTimerPSt5mutex _ZN14AsyncOpTracker12wait_for_opsEP7Context _ZN14AsyncOpTracker8start_opEv _ZN19TokenBucketThrottle6Bucket3getEm _Z21ceph_entity_type_namei _ZN6librbd24rbd_features_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZN14AsyncOpTracker9finish_opEv _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt3mapI8object_tSt6vectorI12ObjectExtentSaISC_EESt4lessISA_ESaISt4pairIKSA_SE_EEEm _ZN9ReadaheadC1Ev _ZN14SimpleThrottle12wait_for_retEv _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN9SafeTimerC2EPN4ceph6common11CephContextERSt5mutexb _ZN6librbd22rbd_features_to_stringB5cxx11EmPSo _ZN15OrderedThrottleC1Emb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextEPcm _ZN6ThreadD2Ev _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN11md_config_tC1ER12ConfigValuesRK13ConfigTrackerb _ZN10ThreadPool4stopEb _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN9Readahead11dec_pendingEi _ZN9SafeTimer12add_event_atENSt6chrono10time_pointIN4ceph11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEEP7Context _ZN19TokenBucketThrottleD1Ev _ZN9SafeTimer4initEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listEb _ZlsRSoPK8sockaddr _ZN7Striper14extent_to_fileEPN4ceph6common11CephContextEP13file_layout_tmmmRSt6vectorISt4pairImmESaIS8_EE _ZN14AsyncOpTrackerD1Ev _ZN7Striper17StripedReadResult18add_partial_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listERKSt6vectorISt4pairImmESaISB_EE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN15OrderedThrottle6end_opEi _ZN14AsyncOpTracker5emptyEv _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPK13file_layout_tmmmmPN5boost9container12small_vectorIN7striper23LightweightObjectExtentELm4EvvEE _ZN9Readahead6updateERKSt6vectorISt4pairImmESaIS2_EEm _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextEPSt3mapImmSt4lessImESaISt4pairIKmmEEEPNS1_6buffer7v15_2_04listE _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7Striper17StripedReadResult25add_partial_sparse_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listERKSt3mapImmSt4lessImESaISt4pairIKmmEEEmRKN5boost9container12small_vectorISC_ImmELm4EvvEE _ZN6Thread6createEPKcm _ZN4ceph6common12PerfCountersD1Ev _ZN9Readahead11inc_pendingEi _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common19PerfCountersBuilder8add_timeEiPKcS3_S3_i _ZN4ceph6common12PerfCounters3incEim _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt6vectorI12ObjectExtentSaISA_EEm _ZNK14SimpleThrottle13pending_errorEv _ZN15OrderedThrottle12wait_for_retEv _ZN9Readahead22set_max_readahead_sizeEm _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _ZN19TokenBucketThrottle21set_schedule_tick_minEm _ZN14AsyncOpTrackerC1Ev _ZN9SafeTimer12cancel_eventEP7Context _ZNK4ceph6common16RefCountedObject4_getEv _ZNK11md_config_t11find_optionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN19TokenBucketThrottle9set_limitEmm _ZNK4ceph6common16RefCountedObject3putEv _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN7Striper17StripedReadResult18add_partial_resultEPN4ceph6common11CephContextEONS1_6buffer7v15_2_04listERKN5boost9container12small_vectorISt4pairImmELm4EvvEE _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN14SimpleThrottleD1Ev _ZN9Readahead16wait_for_pendingEP7Context _ZN14SimpleThrottleC1Emb _ZN14SimpleThrottle6end_opEi _ZNK15OrderedThrottle13pending_errorEv _ZN8Finisher4stopEv _ZN11json_spirit4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_10Config_mapIS5_EEEE _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/libradosgw.so.2.0.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI6Thread _ZTI16OutputDataSocket _ZN16OutputDataSocket5entryEv _ZTIN4ceph6common16RefCountedObjectE _ZTIN4ceph9FormatterE _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph6global20g_assert_thread_nameE _ZN4ceph6global10g_eio_pathE _ZN4ceph6global13g_eio_devnameE _ZN4ceph6global12g_eio_lengthE _ZN9pg_pool_t20APPLICATION_NAME_RGWE _ZN4ceph6global11g_eio_errorE _ZN4ceph6global13g_assert_funcE _ZN4ceph6global13g_assert_lineE _ZN4ceph6global13g_assert_fileE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph14ResolvHWrapperE _ZTVN4ceph6buffer7v15_2_05errorE g_code_env _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6global12g_eio_offsetE _ZTV15JSONFormattable _ZN4ceph6global12g_eio_iotypeE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph6global18g_assert_conditionE _ZN4ceph6global5g_eioE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE g_lockdep _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph11DNSResolverD1Ev _ZTVN4ceph13JSONFormatterE _ZN4ceph6global12g_assert_msgE _ZN4ceph6global14g_process_nameE _ZTVN4ceph12XMLFormatterE mime_encode_as_qp _ZN4ceph12XMLFormatter13close_sectionEv _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph5crush13CrushLocation15init_on_startupEv _ZN4ceph13JSONFormatter13close_sectionEv _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _Z19escape_xml_attr_lenPKc _Z27gen_rand_alphanumeric_lowerB5cxx11PN4ceph6common11CephContextEm _ZN4ceph13HTMLFormatterC1Eb _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log11dump_recentEv _ZNK4ceph6common11CephContext15get_module_typeEv _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE encode_utf8 _Z11encode_jsonPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph9FormatterE _ZN16OutputDataSocketD2Ev _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9MonClientD1Ev _ZN10JSONParser5parseEPKci _ZN6ThreadC2Ev _ZN4ceph6common11CephContext16notify_post_forkEv _Z14lockdep_lockedPKcib _ZN4ceph13from_iso_8601EN5boost16basic_string_refIcSt11char_traitsIcEEEb _ZN12AuthRegistryD1Ev _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _Z11encode_jsonPKcjPN4ceph9FormatterE _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN4ceph6crypto20zeroize_for_securityEPvm _ZN9MonClientC1EPN4ceph6common11CephContextE _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZN4ceph12XMLFormatter5flushERSo _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _Z15decode_json_objR7utime_tP7JSONObj _ZN4ceph7logging3Log12set_log_fileESt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext14get_init_flagsEv _Z14common_preinitRK18CephInitParameters18code_environment_ti check_for_control_characters _ZN11JSONObjIterdeEv _ZN11md_config_t14set_val_or_dieER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEERKNSt7__cxx1112basic_stringIcS7_SaIcEEE _ZNK6Thread10is_startedEv _Z11encode_jsonPKcmPN4ceph9FormatterE _ZN7JSONObj9is_objectEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _Z15decode_json_objRjP7JSONObj _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN11md_config_t15set_val_defaultER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEERKNSt7__cxx1112basic_stringIcS7_SaIcEEE _ZN10ThreadPoolD1Ev _ZN4ceph14PluginRegistry13get_with_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ _Z19ceph_version_to_strv _Z24ceph_argparse_need_usageRKSt6vectorIPKcSaIS1_EE _ZN4ceph12XMLFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN15JSONFormattable3setERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph12XMLFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph7logging3Log17set_flush_on_exitEv _Z19lockdep_will_unlockPKci _ZN10ThreadPool7unpauseEv _Z14dout_emergencyPKc _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN12CryptoRandom9get_bytesEPci safe_read_file _ZN4ceph7logging3Log14chown_log_fileEjj _ZN4ceph6common11CephContext14set_init_flagsEi _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _Z15decode_json_objRN4ceph6buffer7v15_2_04listEP7JSONObj _Z11get_str_setRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt3setIS4_St4lessIS4_ESaIS4_EE _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN16OutputDataSocket13append_outputERN4ceph6buffer7v15_2_04listE _Z15decode_json_objRlP7JSONObj _ZN4ceph6crypto3ssl13OpenSSLDigest6UpdateEPKhm _ZN4ceph9Formatter5flushERNS_6buffer7v15_2_04listE _ZN7JSONObj10find_firstEv _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigest5FinalEPh _ZN6ThreadD2Ev _ZN6Thread4killEi _Z27gen_rand_alphanumeric_upperPN4ceph6common11CephContextEPcm _Z16lockdep_registerPKc _ZNK11md_config_t16do_argv_commandsERK12ConfigValues _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigestD2Ev _ZN4ceph6common11CephContext15notify_pre_forkEv _ZN10ThreadPool4stopEb _ZN11JSONObjIterppEv _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph13JSONFormatter5flushERSo _ZN11JSONObjIterD1Ev ceph_unarmor _Z10env_to_vecRSt6vectorIPKcSaIS1_EES1_ _ZNK4ceph9BackTrace5printERSo safe_read_exact _ZN4ceph6common11CephContext11reopen_logsEv _ZN4ceph9FormatterC2Ev _ZN9SafeTimer4initEv _ZNK15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common11CephContext3putEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv get_process_name _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE _ZN10JSONParserD1Ev _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log5flushEv _ZN4ceph13JSONFormatterC1Eb _ZN4ceph7logging3Log5startEv _Z11encode_jsonPKcbPN4ceph9FormatterE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN4ceph6crypto3ssl13OpenSSLDigest7RestartEv _ZlsRSoRK18xml_stream_escaper _Z18lockdep_unregisteri _Z14dout_emergencyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE check_utf8 _ZN4ceph6crypto3ssl13OpenSSLDigestC2EPK9evp_md_st _ZN16OutputDataSocketC2EPN4ceph6common11CephContextEm _ZN4ceph7logging3Log15reopen_log_fileEv _ZN9MonClient21get_monmap_and_configEv _ZN8Throttle3putEl _Z15decode_json_objRmP7JSONObj _ZN4ceph23register_assert_contextEPNS_6common11CephContextE _Z17lockdep_will_lockPKcibb _ZN15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK10EntityName6to_strB5cxx11Ev _ZN4ceph7logging3Log16set_stderr_levelEii _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z21gen_rand_alphanumericB5cxx11PN4ceph6common11CephContextEm _Z11encode_jsonPKcS0_PN4ceph9FormatterE _ZN4ceph6common11CephContext18get_crypto_handlerEi _ZN4ceph6common12PerfCounters3decEim _ZN16OutputDataSocket4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z12pipe_cloexecPii _ZN4ceph6global6g_confEv _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7JSONObj8get_dataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_8data_valE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _Z11encode_jsonPKclPN4ceph9FormatterE _ZN6Thread6createEPKcm _ZNK11md_config_t17early_expand_metaERK12ConfigValuesRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK15JSONFormattable4findERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph12XMLFormatterC1Ebbb _ZN4ceph11DNSResolver13resolve_cnameEPNS_6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS9_Pb _ZN4ceph6common12PerfCountersD1Ev _ZN12AuthRegistryC1EPN4ceph6common11CephContextE safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _Z28set_cpu_affinity_all_threadsmP9cpu_set_t _ZN10Compressor6createEPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6common19PerfCountersBuilder11add_u64_avgEiPKcS3_S3_ii _ZN4ceph7logging3Log4stopEv _ZNK15JSONFormattable3defERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc _ZN8Throttle3getEll _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_4listIS4_SaIS4_EEE _ZN4cephlsINS_11time_detail17coarse_real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN9SafeTimer12cancel_eventEP7Context _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK15JSONFormattable6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10ThreadPool5pauseEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _Z27gen_rand_alphanumeric_plainPN4ceph6common11CephContextEPcm _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _Z11get_str_mapRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3mapIS4_S4_St4lessIS4_ESaISt4pairIS5_S4_EEEPKc _ZN9SafeTimer17cancel_all_eventsEv _ZNK15JSONFormattable3defEb _Z24ceph_argparse_early_argsRSt6vectorIPKcSaIS1_EEjPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_ _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z20generic_server_usagev _ZNK4ceph6common16RefCountedObject3putEv _ZN10Compressor6createEPN4ceph6common11CephContextEi _Z15escape_xml_attrPKcPc _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _Z13block_signalsPKiP10__sigset_t _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6common19PerfCountersDeleterclEPNS0_12PerfCountersE _ZN4ceph14FormatterAttrsC1EPKcz _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec _ZNK15JSONFormattable3defEi _Z21get_numa_node_cpu_setiPmP9cpu_set_t _Z19ceph_str_hash_linuxPKcj _ZN12AuthRegistry15_refresh_configEv _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK12AuthRegistry21get_supported_methodsEiPSt6vectorIjSaIjEES3_ _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN4ceph7logging3Log18is_inside_log_lockEv _Z35gen_rand_alphanumeric_no_underscorePN4ceph6common11CephContextEPcm _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN4ceph9FormatterD2Ev _ZN4ceph6common11CephContext34check_experimental_feature_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph9BackTrace4dumpEPNS_9FormatterE safe_write _Z15decode_json_objRbP7JSONObj _Z11encode_jsonPKcRK15JSONFormattablePN4ceph9FormatterE _Z11encode_jsonPKcRK7utime_tPN4ceph9FormatterE _ZN8ThrottleD1Ev _ZN4ceph13JSONFormatterC2Eb _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Finisher4stopEv _Z11encode_jsonPKcRKN4ceph6buffer7v15_2_04listEPNS1_9FormatterE _ZN11md_config_t22finalize_reexpand_metaER12ConfigValuesRK13ConfigTracker _ZN4ceph11to_iso_8601B5cxx11ENSt6chrono10time_pointINS_11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEENS_15iso_8601_formatE _Z15decode_json_objRiP7JSONObj _Z21gen_rand_alphanumericPN4ceph6common11CephContextEPcm _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _Z20get_process_name_cppB5cxx11v _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _Z11encode_jsonPKciPN4ceph9FormatterE _Z21pretty_version_to_strB5cxx11v _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/librgw.so.2.0.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI6Thread _ZTI16OutputDataSocket _ZN16OutputDataSocket5entryEv _ZTIN4ceph6common16RefCountedObjectE _ZTIN4ceph9FormatterE _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph6global20g_assert_thread_nameE _ZN4ceph6global10g_eio_pathE _ZN4ceph6global13g_eio_devnameE _ZN4ceph6global12g_eio_lengthE _ZN9pg_pool_t20APPLICATION_NAME_RGWE _ZN4ceph6global11g_eio_errorE _ZN4ceph6global13g_assert_funcE _ZN4ceph6global13g_assert_lineE _ZN4ceph6global13g_assert_fileE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph14ResolvHWrapperE _ZTVN4ceph6buffer7v15_2_05errorE g_code_env _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6global12g_eio_offsetE _ZTV15JSONFormattable _ZN4ceph6global12g_eio_iotypeE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph6global18g_assert_conditionE _ZN4ceph6global5g_eioE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE g_lockdep _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph11DNSResolverD1Ev _ZTVN4ceph13JSONFormatterE _ZN4ceph6global12g_assert_msgE _ZN4ceph6global14g_process_nameE _ZTVN4ceph12XMLFormatterE mime_encode_as_qp _ZN4ceph12XMLFormatter13close_sectionEv _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph5crush13CrushLocation15init_on_startupEv _ZN4ceph13JSONFormatter13close_sectionEv _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _Z19escape_xml_attr_lenPKc _Z27gen_rand_alphanumeric_lowerB5cxx11PN4ceph6common11CephContextEm _ZN4ceph13HTMLFormatterC1Eb _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log11dump_recentEv _ZNK4ceph6common11CephContext15get_module_typeEv _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE encode_utf8 _Z11encode_jsonPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph9FormatterE _ZN16OutputDataSocketD2Ev _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9MonClientD1Ev _ZN10JSONParser5parseEPKci _ZN6ThreadC2Ev _ZN4ceph6common11CephContext16notify_post_forkEv _Z14lockdep_lockedPKcib _ZN4ceph13from_iso_8601EN5boost16basic_string_refIcSt11char_traitsIcEEEb XXH64 _ZN12AuthRegistryD1Ev _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _Z11encode_jsonPKcjPN4ceph9FormatterE _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph6crypto20zeroize_for_securityEPvm _ZN9MonClientC1EPN4ceph6common11CephContextE _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZN4ceph12XMLFormatter5flushERSo _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _Z15decode_json_objR7utime_tP7JSONObj _ZN4ceph7logging3Log12set_log_fileESt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext14get_init_flagsEv _Z14common_preinitRK18CephInitParameters18code_environment_ti check_for_control_characters _ZN11JSONObjIterdeEv _ZNK6Thread10is_startedEv _Z11encode_jsonPKcmPN4ceph9FormatterE _ZN7JSONObj9is_objectEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _Z15decode_json_objRjP7JSONObj _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN11md_config_t15set_val_defaultER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEERKNSt7__cxx1112basic_stringIcS7_SaIcEEE _ZN10ThreadPoolD1Ev _ZN4ceph14PluginRegistry13get_with_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ _Z19ceph_version_to_strv _ZN4ceph12XMLFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN15JSONFormattable3setERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph12XMLFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph7logging3Log17set_flush_on_exitEv _Z19lockdep_will_unlockPKci _ZN10ThreadPool7unpauseEv _Z14dout_emergencyPKc _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN12CryptoRandom9get_bytesEPci safe_read_file _ZN4ceph7logging3Log14chown_log_fileEjj _ZN4ceph6common11CephContext14set_init_flagsEi _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _Z15decode_json_objRN4ceph6buffer7v15_2_04listEP7JSONObj _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN16OutputDataSocket13append_outputERN4ceph6buffer7v15_2_04listE _Z15decode_json_objRlP7JSONObj _ZN4ceph6crypto3ssl13OpenSSLDigest6UpdateEPKhm _ZN4ceph9Formatter5flushERNS_6buffer7v15_2_04listE _ZN7JSONObj10find_firstEv _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigest5FinalEPh _ZN6ThreadD2Ev _ZN6Thread4killEi _Z27gen_rand_alphanumeric_upperPN4ceph6common11CephContextEPcm _Z16lockdep_registerPKc _ZNK11md_config_t16do_argv_commandsERK12ConfigValues _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigestD2Ev _ZN4ceph6common11CephContext15notify_pre_forkEv _ZN10ThreadPool4stopEb _ZN11JSONObjIterppEv _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph13JSONFormatter5flushERSo _ZN11JSONObjIterD1Ev ceph_unarmor _Z10env_to_vecRSt6vectorIPKcSaIS1_EES1_ _ZNK4ceph9BackTrace5printERSo _ZN4ceph6common11CephContext11reopen_logsEv _ZN4ceph9FormatterC2Ev _ZN9SafeTimer4initEv _ZNK15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common11CephContext3putEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv get_process_name _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE _ZN10JSONParserD1Ev _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log5flushEv _ZN4ceph13JSONFormatterC1Eb _ZN4ceph7logging3Log5startEv _Z11encode_jsonPKcbPN4ceph9FormatterE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN4ceph6crypto3ssl13OpenSSLDigest7RestartEv _ZlsRSoRK18xml_stream_escaper _Z18lockdep_unregisteri _Z14dout_emergencyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE check_utf8 _ZN4ceph6crypto3ssl13OpenSSLDigestC2EPK9evp_md_st _ZN16OutputDataSocketC2EPN4ceph6common11CephContextEm _ZN4ceph7logging3Log15reopen_log_fileEv _ZN9MonClient21get_monmap_and_configEv _ZN8Throttle3putEl _Z15decode_json_objRmP7JSONObj _ZN4ceph23register_assert_contextEPNS_6common11CephContextE _Z17lockdep_will_lockPKcibb _ZN15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK10EntityName6to_strB5cxx11Ev _ZN4ceph7logging3Log16set_stderr_levelEii _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z21gen_rand_alphanumericB5cxx11PN4ceph6common11CephContextEm _Z11encode_jsonPKcS0_PN4ceph9FormatterE _ZN4ceph6common11CephContext18get_crypto_handlerEi _ZN4ceph6common12PerfCounters3decEim _ZN16OutputDataSocket4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z12pipe_cloexecPii _ZN4ceph6global6g_confEv _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7JSONObj8get_dataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_8data_valE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _Z11encode_jsonPKclPN4ceph9FormatterE _ZN6Thread6createEPKcm _ZNK11md_config_t17early_expand_metaERK12ConfigValuesRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK15JSONFormattable4findERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph12XMLFormatterC1Ebbb _ZN4ceph11DNSResolver13resolve_cnameEPNS_6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS9_Pb _ZN4ceph6common12PerfCountersD1Ev _ZN12AuthRegistryC1EPN4ceph6common11CephContextE safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN10Compressor6createEPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6common19PerfCountersBuilder11add_u64_avgEiPKcS3_S3_ii _ZN4ceph7logging3Log4stopEv _ZNK15JSONFormattable3defERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc _ZN8Throttle3getEll _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_4listIS4_SaIS4_EEE _ZN4cephlsINS_11time_detail17coarse_real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK15JSONFormattable6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10ThreadPool5pauseEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _Z27gen_rand_alphanumeric_plainPN4ceph6common11CephContextEPcm _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _Z11get_str_mapRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3mapIS4_S4_St4lessIS4_ESaISt4pairIS5_S4_EEEPKc _ZN9SafeTimer17cancel_all_eventsEv _ZNK15JSONFormattable3defEb _Z24ceph_argparse_early_argsRSt6vectorIPKcSaIS1_EEjPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_ _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZNK4ceph6common16RefCountedObject3putEv _ZN10Compressor6createEPN4ceph6common11CephContextEi _Z15escape_xml_attrPKcPc _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _Z13block_signalsPKiP10__sigset_t _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6common19PerfCountersDeleterclEPNS0_12PerfCountersE _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec _ZNK15JSONFormattable3defEi _Z19ceph_str_hash_linuxPKcj _ZN12AuthRegistry15_refresh_configEv _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK12AuthRegistry21get_supported_methodsEiPSt6vectorIjSaIjEES3_ _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN4ceph7logging3Log18is_inside_log_lockEv _Z35gen_rand_alphanumeric_no_underscorePN4ceph6common11CephContextEPcm _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN4ceph9FormatterD2Ev _ZNK4ceph9BackTrace4dumpEPNS_9FormatterE safe_write _Z15decode_json_objRbP7JSONObj _Z11encode_jsonPKcRK15JSONFormattablePN4ceph9FormatterE _Z11encode_jsonPKcRK7utime_tPN4ceph9FormatterE _ZN8ThrottleD1Ev _ZN4ceph13JSONFormatterC2Eb _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Finisher4stopEv _Z11encode_jsonPKcRKN4ceph6buffer7v15_2_04listEPNS1_9FormatterE _ZN11md_config_t22finalize_reexpand_metaER12ConfigValuesRK13ConfigTracker _ZN4ceph11to_iso_8601B5cxx11ENSt6chrono10time_pointINS_11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEENS_15iso_8601_formatE _Z15decode_json_objRiP7JSONObj _Z21gen_rand_alphanumericPN4ceph6common11CephContextEPcm _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _Z20get_process_name_cppB5cxx11v _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _Z11encode_jsonPKciPN4ceph9FormatterE _Z21pretty_version_to_strB5cxx11v _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_jerasure.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_jerasure_generic.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_jerasure_sse3.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_jerasure_sse4.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_lrc.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZN4ceph11_page_shiftE _Z18timeout_sighandleri _ZN7mempool10debug_modeE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTV15SubProcessTimed _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZNK10SubProcess10get_stderrEv _ZNK4ceph6buffer7v15_2_04list7hexdumpERSob _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph6buffer7v15_2_04list7read_fdEim _ZN5boost6detail12get_tss_dataEPKv _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZNK10EntityName12get_type_strEv _ZN10SubProcess12add_cmd_argsEPKcz _ZNK10SubProcess10get_stdoutEv _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph25ErasureCodePluginRegistry7factoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_RSt3mapIS6_S6_St4lessIS6_ESaISt4pairIS7_S6_EEEPSt10shared_ptrINS_20ErasureCodeInterfaceEEPSo _ZN10SubProcessD2Ev _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN7mempool8get_poolENS_12pool_index_tE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN5boost6detail12set_tss_dataEPKvPFvPFvPvES3_ES5_S3_b _ZNK10SubProcess3errB5cxx11Ev _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _ZN5boost13thread_detail17enter_once_regionERNS_9once_flagE _ZN9TextTable13define_columnERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_5AlignES8_ _ZN10SubProcess4joinEv _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN15SubProcessTimedC1EPKcN10SubProcess9std_fd_opES3_S3_ii _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN10SubProcess5spawnEv _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj _ZlsRSoRK9TextTable Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_shec.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_shec_generic.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_shec_sse3.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_shec_sse4.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_clay.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZN4ceph11_page_shiftE _Z18timeout_sighandleri _ZN7mempool10debug_modeE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTV15SubProcessTimed _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZNK10SubProcess10get_stderrEv _ZNK4ceph6buffer7v15_2_04list7hexdumpERSob _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph6buffer7v15_2_04list7read_fdEim _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZNK10EntityName12get_type_strEv _ZN10SubProcess12add_cmd_argsEPKcz _ZNK10SubProcess10get_stdoutEv _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph25ErasureCodePluginRegistry7factoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_RSt3mapIS6_S6_St4lessIS6_ESaISt4pairIS7_S6_EEEPSt10shared_ptrINS_20ErasureCodeInterfaceEEPSo _ZN10SubProcessD2Ev _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN7mempool8get_poolENS_12pool_index_tE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZNK10SubProcess3errB5cxx11Ev _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _ZN9TextTable13define_columnERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_5AlignES8_ _ZN10SubProcess4joinEv _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN11json_spirit13read_or_throwERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_10Config_mapIS5_EEEE _ZN15SubProcessTimedC1EPKcN10SubProcess9std_fd_opES3_S3_ii _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN10SubProcess5spawnEv _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj _ZlsRSoRK9TextTable Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_isa.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE ceph_arch_intel_sse2 _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptraSEOS2_ _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph6buffer7v15_2_03ptraSERKS2_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_06createEj _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/compressor/libceph_snappy.so.2.0.0: _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE19get_ptr_and_advanceEmPPKc _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrEjj _ZN4ceph6buffer7v15_2_03ptrC1Ej _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1ERKNS2_8iteratorE _ZN4ceph6buffer7v15_2_025create_small_page_alignedEj _ZN4ceph6buffer7v15_2_03ptr7releaseEv Warning: undefined symbols in /usr/lib64/ceph/compressor/libceph_zlib.so.2.0.0: ceph_arch_intel_pclmul ceph_arch_intel_sse41 _ZN4ceph10_page_sizeE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE19get_ptr_and_advanceEmPPKc _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrEjj _ZNK4ceph6buffer7v15_2_03ptr5c_strEv ceph_arch_probe _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_019create_page_alignedEj _ZN4ceph6buffer7v15_2_03ptr7releaseEv Warning: undefined symbols in /usr/lib64/ceph/compressor/libceph_zstd.so.2.0.0: _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE19get_ptr_and_advanceEmPPKc _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrEjj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6buffer7v15_2_03ptrC1Ej _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_025create_small_page_alignedEj _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj Warning: undefined symbols in /usr/lib64/ceph/compressor/libceph_lz4.so.2.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE19get_ptr_and_advanceEmPPKc _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list7rebuildEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrEjj _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE9copy_deepEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_03ptrC1Ej _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE15get_current_ptrEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_025create_small_page_alignedEj _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj Warning: undefined symbols in /usr/lib64/ceph/crypto/libceph_crypto_openssl.so: _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE Warning: undefined symbols in /usr/lib64/ceph/crypto/libceph_crypto_isal.so.1.0.0: ceph_arch_intel_aesni ceph_arch_intel_sse41 _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE ceph_arch_probe Warning: undefined symbols in /usr/lib64/rados-classes/libcls_sdk.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _Z13cls_cxx_writePviiPN4ceph6buffer7v15_2_04listE _Z14cls_cxx_removePv _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _Z12cls_cxx_statPvPmPl cls_log _Z14cls_cxx_createPvb _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_hello.so.1.0.0: _ZTI10PGLSFilter _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTIN4ceph6buffer7v15_2_05errorE _Z21ceph_entity_type_namei _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z23cls_register_cxx_filterPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFP10PGLSFiltervEPS_ _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN10PGLSFilterD2Ev _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN10PGLSFilterC2Ev _ZN4ceph6buffer7v15_2_04list5c_strEv cls_get_request_origin _Z12cls_cxx_statPvPmPl _ZlsRSoRK13entity_addr_t cls_log _ZNK4ceph6buffer7v15_2_04list14contents_equalEPKvm _Z18cls_cxx_write_fullPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_numops.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTIN4ceph6buffer7v15_2_05errorE _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_04list5c_strEv cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_rbd.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _Z12cpp_strerrorB5cxx11i _ZNK4ceph6buffer7v15_2_04list13iterator_implILb0EEdeEv _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _Z20cls_cxx_map_set_valsPvPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4seekEj _Z21cls_cxx_list_watchersPvP25obj_list_watch_response_t _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrE _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _Z13cls_cxx_writePviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z14cls_cxx_removePv _Z20cls_cxx_map_get_keysPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmPSt3setIS5_St4lessIS5_ESaIS5_EEPb _ZNK4ceph6buffer7v15_2_03ptr7is_zeroEv _ZNK4ceph6buffer7v15_2_04list7hexdumpERSob _ZNK4ceph6buffer7v15_2_04list7is_zeroEv _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_jNS2_9buffers_t16buffers_iteratorINS1_8ptr_nodeEEEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_jj _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _ZN4ceph6buffer7v15_2_04list11append_zeroEj _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _Z16cls_get_featuresPv _ZN4ceph6buffer7v15_2_04list11append_holeEj _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph6buffer7v15_2_04list7rebuildESt10unique_ptrINS1_8ptr_nodeENS4_8disposerEE _Z19cls_get_snapset_seqPvPm _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph6buffer7v15_2_04list14contents_equalERKS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE9copy_deepEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptrC1Ej _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _Z14cls_cxx_write2PviiPN4ceph6buffer7v15_2_04listEj cls_get_request_origin _ZN4ceph6buffer7v15_2_06createEj _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1ERKNS2_8iteratorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _Z15cls_cxx_replacePviiPN4ceph6buffer7v15_2_04listE _Z14cls_cxx_createPvb _Z18cls_cxx_write_fullPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EEppEv _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z13cls_cxx_read2PviiPN4ceph6buffer7v15_2_04listEj _Z28cls_get_required_osd_releasePv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list8iterator7copy_inEjPKcb _ZN4ceph6buffer7v15_2_04list6appendEONS1_3ptrE _ZNK4ceph6buffer7v15_2_04list6crc32cEj cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_lock.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_05errorE _Z21ceph_entity_type_namei _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z14cls_cxx_removePv _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z17cls_cxx_getxattrsPvPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _Z23cls_get_client_featuresPv cls_get_request_origin _ZlsRSoRK13entity_addr_t cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_otp.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_refcount.so.1.0.0: _ZTIN4ceph13JSONFormatterE _ZN4ceph13JSONFormatter5flushERSo _ZN4ceph13JSONFormatter5resetEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter24open_array_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter13close_sectionEv _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph13JSONFormatter10dump_floatESt17basic_string_viewIcSt11char_traitsIcEEd _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter14dump_format_vaESt17basic_string_viewIcSt11char_traitsIcEEPKcbS6_P13__va_list_tag _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZNK4ceph13JSONFormatter7get_lenEv _ZN4ceph13JSONFormatter14write_raw_dataEPKc _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTVN4ceph13JSONFormatterE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z14cls_cxx_removePv _ZN5boost6detail12get_tss_dataEPKv _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13decode_base64ERS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN5boost6detail12set_tss_dataEPKvPFvPFvPvES3_ES5_S3_b _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph9FormatterD2Ev _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN5boost13thread_detail17enter_once_regionERNS_9once_flagE _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13encode_base64ERS2_ _ZN4ceph13JSONFormatterC2Eb cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_version.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _Z19cls_gen_rand_base64Pci _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_log.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z20cls_cxx_map_get_keysPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmPSt3setIS5_St4lessIS5_ESaIS5_EEPb _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z24cls_cxx_map_write_headerPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z23cls_cxx_map_read_headerPvPN4ceph6buffer7v15_2_04listE _Z21cls_cxx_subop_versionPvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z24cls_cxx_map_remove_rangePvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_timeindex.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_user.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z24cls_cxx_map_write_headerPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z23cls_cxx_map_read_headerPvPN4ceph6buffer7v15_2_04listE cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_journal.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZNK4ceph6buffer7v15_2_04list7hexdumpERSob _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z16cls_cxx_truncatePvi _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z26cls_get_osd_min_alloc_sizePv _Z14cls_cxx_write2PviiPN4ceph6buffer7v15_2_04listEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z29cls_get_min_compatible_clientPv cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_rgw.so.1.0.0: _ZTIN4ceph13JSONFormatterE _ZN4ceph13JSONFormatter5flushERSo _ZN4ceph13JSONFormatter5resetEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter24open_array_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter13close_sectionEv _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph13JSONFormatter10dump_floatESt17basic_string_viewIcSt11char_traitsIcEEd _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter14dump_format_vaESt17basic_string_viewIcSt11char_traitsIcEEPKcbS6_P13__va_list_tag _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZNK4ceph13JSONFormatter7get_lenEv _ZN4ceph13JSONFormatter14write_raw_dataEPKc _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTVN4ceph13JSONFormatterE _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z16escape_json_attrPKcmPc _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z14cls_cxx_removePv _Z20cls_cxx_map_get_keysPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmPSt3setIS5_St4lessIS5_ESaIS5_EEPb _Z19cls_current_versionPv _ZN5boost6detail12get_tss_dataEPKv _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z24cls_cxx_map_write_headerPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13decode_base64ERS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z17cls_cxx_getxattrsPvPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z13cls_cxx_stat2PvPmPNSt6chrono10time_pointIN4ceph11time_detail10real_clockENS1_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN5boost6detail12set_tss_dataEPKvPFvPFvPvES3_ES5_S3_b _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph9FormatterD2Ev _Z23cls_cxx_map_read_headerPvPN4ceph6buffer7v15_2_04listE _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN5boost13thread_detail17enter_once_regionERNS_9once_flagE _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1ERKNS2_8iteratorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _Z14cls_cxx_createPvb _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z17cls_cxx_map_clearPv _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE _ZN4ceph6buffer7v15_2_04list5claimERS2_ _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z24cls_cxx_map_remove_rangePvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z20escape_json_attr_lenPKcm _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE _ZN4ceph6buffer7v15_2_04list13encode_base64ERS2_ _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec _ZN4ceph13JSONFormatterC2Eb cls_register _Z21cls_current_subop_numPv Warning: undefined symbols in /usr/lib64/rados-classes/libcls_cephfs.so.1.0.0: _ZTI10PGLSFilter _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z23cls_register_cxx_filterPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFP10PGLSFiltervEPS_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN10PGLSFilterD2Ev _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN10PGLSFilterC2Ev cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_lua.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z20cls_cxx_map_set_valsPvPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _Z13cls_cxx_writePviiPN4ceph6buffer7v15_2_04listE _Z14cls_cxx_removePv _Z20cls_cxx_map_get_keysPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmPSt3setIS5_St4lessIS5_ESaIS5_EEPb _Z19cls_current_versionPv _ZN5boost6detail12get_tss_dataEPKv _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z24cls_cxx_map_write_headerPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_03ptrC1EPKcj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZNK4ceph6buffer7v15_2_04listixEj _Z17cls_cxx_getxattrsPvPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN5boost6detail12set_tss_dataEPKvPFvPFvPvES3_ES5_S3_b _ZN4ceph6buffer7v15_2_04list5c_strEv _Z23cls_cxx_map_read_headerPvPN4ceph6buffer7v15_2_04listE _ZN5boost13thread_detail17enter_once_regionERNS_9once_flagE _Z21cls_cxx_subop_versionPvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _Z14cls_cxx_createPvb _Z18cls_cxx_write_fullPvPN4ceph6buffer7v15_2_04listE _Z17cls_cxx_map_clearPv _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register _Z21cls_current_subop_numPv Warning: undefined symbols in /usr/lib64/rados-classes/libcls_cas.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z14cls_cxx_removePv _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z27cls_cxx_chunk_write_and_setPviiPN4ceph6buffer7v15_2_04listEjS4_i _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z3cmpRK9hobject_tS1_ _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _Z13cls_has_chunkPvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv reverse_nibbles _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE reverse_bits cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_queue.so.1.0.0: _ZTIN4ceph13JSONFormatterE _ZN4ceph13JSONFormatter5flushERSo _ZN4ceph13JSONFormatter5resetEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter24open_array_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter13close_sectionEv _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph13JSONFormatter10dump_floatESt17basic_string_viewIcSt11char_traitsIcEEd _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter14dump_format_vaESt17basic_string_viewIcSt11char_traitsIcEEPKcbS6_P13__va_list_tag _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZNK4ceph13JSONFormatter7get_lenEv _ZN4ceph13JSONFormatter14write_raw_dataEPKc _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTVN4ceph13JSONFormatterE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _Z18cls_cxx_write_zeroPvii _ZN4ceph6buffer7v15_2_04list11append_holeEj _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13decode_base64ERS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph9FormatterD2Ev _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN11json_spirit4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_13Config_vectorIS5_EEEE _ZN11json_spirit4readERSiRNS_10Value_implINS_13Config_vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEE _Z14cls_cxx_write2PviiPN4ceph6buffer7v15_2_04listEj _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN11json_spirit5writeERKNS_10Value_implINS_13Config_vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z13cls_cxx_read2PviiPN4ceph6buffer7v15_2_04listEj _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN4ceph6buffer7v15_2_04list13encode_base64ERS2_ _ZN4ceph13JSONFormatterC2Eb cls_register _ZN4ceph6buffer7v15_2_04list6spliceEjjPS2_ Warning: undefined symbols in /usr/lib64/rados-classes/libcls_rgw_gc.so.1.0.0: _ZTIN4ceph13JSONFormatterE _ZN4ceph13JSONFormatter5flushERSo _ZN4ceph13JSONFormatter5resetEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter24open_array_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter13close_sectionEv _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph13JSONFormatter10dump_floatESt17basic_string_viewIcSt11char_traitsIcEEd _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter14dump_format_vaESt17basic_string_viewIcSt11char_traitsIcEEPKcbS6_P13__va_list_tag _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZNK4ceph13JSONFormatter7get_lenEv _ZN4ceph13JSONFormatter14write_raw_dataEPKc _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph13JSONFormatterE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _Z18cls_cxx_write_zeroPvii _ZN4ceph6buffer7v15_2_04list11append_holeEj _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13decode_base64ERS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph9FormatterD2Ev _ZN11json_spirit4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_13Config_vectorIS5_EEEE _ZN11json_spirit4readERSiRNS_10Value_implINS_13Config_vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEE _Z14cls_cxx_write2PviiPN4ceph6buffer7v15_2_04listEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN11json_spirit5writeERKNS_10Value_implINS_13Config_vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEEj _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z13cls_cxx_read2PviiPN4ceph6buffer7v15_2_04listEj _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13encode_base64ERS2_ _ZN4ceph13JSONFormatterC2Eb cls_register _ZN4ceph6buffer7v15_2_04list6spliceEjjPS2_ Warning: undefined symbols in /usr/lib64/rados-classes/libcls_kvs.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z20cls_cxx_map_set_valsPvPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _Z14cls_cxx_createPvb _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/python3.10/site-packages/rados.cpython-310-x86_64-linux-gnu.so: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/python3.10/site-packages/rbd.cpython-310-x86_64-linux-gnu.so: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI10ThreadPool _ZTI9SafeTimer _ZN10ThreadPool18handle_conf_changeERKN4ceph6common11ConfigProxyERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessISB_ESaISB_EE _ZN10ThreadPool6workerEPNS_10WorkThreadE _ZTI6Thread _ZTIN4ceph6common16RefCountedObjectE _ZN4ceph11_page_shiftE _ZTVN4ceph6common16RefCountedObjectE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN9pg_pool_t20APPLICATION_NAME_RBDE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_05errorE _ZN7Striper15get_num_objectsERK13file_layout_tm _ZN4ceph6common12PerfCounters4tsetEi7utime_t _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9Readahead20set_trigger_requestsEi _ZN6ThreadC2Ev _ZN10ThreadPoolC2EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN4ceph6common12PerfCounters3setEim _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9SafeTimerD2Ev _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK4ceph6common12PerfCounters8get_nameB5cxx11Ev _ZN10ThreadPoolD2Ev _ZN9ReadaheadD1Ev _ZN14SimpleThrottle8start_opEv _ZN9Readahead14set_alignmentsERKSt6vectorImSaImEE _ZN15OrderedThrottleD1Ev _ZNK6Thread10is_startedEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN15OrderedThrottle8start_opEP7Context _Z19ceph_version_to_strv _ZN8Finisher14wait_for_emptyEv _ZN11md_config_tD1Ev _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN19TokenBucketThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmP9SafeTimerPSt5mutex _ZN14AsyncOpTracker12wait_for_opsEP7Context _ZN14AsyncOpTracker8start_opEv _ZN19TokenBucketThrottle6Bucket3getEm _Z21ceph_entity_type_namei _ZN6librbd24rbd_features_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZN14AsyncOpTracker9finish_opEv _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt3mapI8object_tSt6vectorI12ObjectExtentSaISC_EESt4lessISA_ESaISt4pairIKSA_SE_EEEm _ZN9ReadaheadC1Ev _ZN14SimpleThrottle12wait_for_retEv _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN9SafeTimerC2EPN4ceph6common11CephContextERSt5mutexb _ZN6librbd22rbd_features_to_stringB5cxx11EmPSo _ZN15OrderedThrottleC1Emb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextEPcm _ZN6ThreadD2Ev _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN11md_config_tC1ER12ConfigValuesRK13ConfigTrackerb _ZN10ThreadPool4stopEb _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN9Readahead11dec_pendingEi _ZN9SafeTimer12add_event_atENSt6chrono10time_pointIN4ceph11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEEP7Context _ZN19TokenBucketThrottleD1Ev _ZN9SafeTimer4initEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listEb _ZlsRSoPK8sockaddr _ZN7Striper14extent_to_fileEPN4ceph6common11CephContextEP13file_layout_tmmmRSt6vectorISt4pairImmESaIS8_EE _ZN14AsyncOpTrackerD1Ev _ZN7Striper17StripedReadResult18add_partial_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listERKSt6vectorISt4pairImmESaISB_EE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN15OrderedThrottle6end_opEi _ZN14AsyncOpTracker5emptyEv _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPK13file_layout_tmmmmPN5boost9container12small_vectorIN7striper23LightweightObjectExtentELm4EvvEE _ZN9Readahead6updateERKSt6vectorISt4pairImmESaIS2_EEm _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextEPSt3mapImmSt4lessImESaISt4pairIKmmEEEPNS1_6buffer7v15_2_04listE _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7Striper17StripedReadResult25add_partial_sparse_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listERKSt3mapImmSt4lessImESaISt4pairIKmmEEEmRKN5boost9container12small_vectorISC_ImmELm4EvvEE _ZN6Thread6createEPKcm _ZN4ceph6common12PerfCountersD1Ev _ZN9Readahead11inc_pendingEi _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common19PerfCountersBuilder8add_timeEiPKcS3_S3_i _ZN4ceph6common12PerfCounters3incEim _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt6vectorI12ObjectExtentSaISA_EEm _ZNK14SimpleThrottle13pending_errorEv _ZN15OrderedThrottle12wait_for_retEv _ZN9Readahead22set_max_readahead_sizeEm _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _ZN19TokenBucketThrottle21set_schedule_tick_minEm _ZN14AsyncOpTrackerC1Ev _ZN9SafeTimer12cancel_eventEP7Context _ZNK4ceph6common16RefCountedObject4_getEv _ZNK11md_config_t11find_optionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN19TokenBucketThrottle9set_limitEmm _ZNK4ceph6common16RefCountedObject3putEv _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN7Striper17StripedReadResult18add_partial_resultEPN4ceph6common11CephContextEONS1_6buffer7v15_2_04listERKN5boost9container12small_vectorISt4pairImmELm4EvvEE _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN14SimpleThrottleD1Ev _ZN9Readahead16wait_for_pendingEP7Context _ZN14SimpleThrottleC1Emb _ZN14SimpleThrottle6end_opEi _ZNK15OrderedThrottle13pending_errorEv _ZN8Finisher4stopEv _ZN11json_spirit4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_10Config_mapIS5_EEEE _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/python3.10/site-packages/cephfs.cpython-310-x86_64-linux-gnu.so: _ZTI7Message _ZTI6Thread _ZTIN4ceph6common16RefCountedObjectE _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE MDS_GID_NONE _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTV7Message _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN10shard_id_t8NO_SHARDE _ZTIN4ceph6buffer7v15_2_05errorE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZNK13metric_spec_t6encodeERN4ceph6buffer7v15_2_04listE _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _ZNK4ceph6buffer7v15_2_04listixEj _ZN4ceph6buffer7v15_2_04copyEPKcj _ZNK8Objecter16osdmap_pool_fullEl _ZNK5FSMap10parse_roleESt17basic_string_viewIcSt11char_traitsIcEEP10mds_role_tRSo _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN9MonClientD1Ev _ZN9Readahead20set_trigger_requestsEi _ZN16feature_bitset_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZlsRSoRK13entity_addr_t _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN9MonClientC1EPN4ceph6common11CephContextE _ZNK13entity_addr_t4dumpEPN4ceph9FormatterE _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _Z18ceph_lease_op_namei _Z20ceph_session_op_namei _ZN13metric_spec_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9ReadaheadD1Ev _Z17ceph_frag_comparejj _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN9Readahead14set_alignmentsERKSt6vectorImSaImEE _ZN8ObjecterC1EPN4ceph6common11CephContextEP9MessengerP9MonClientP8Finisher _ZN8Objecter5startEPK6OSDMap _ZNK6Thread10is_startedEv _ZN4ceph6buffer7v15_2_03ptrC1EOS2_ _ZNK13file_layout_t9to_legacyEP16ceph_file_layout _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZNK6OSDMap18make_object_layoutE8object_tiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z19ceph_version_to_strv _ZNK21snaprealm_reconnect_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8Finisher14wait_for_emptyEv _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN8Objecter4initEv _ZNK6MDSMap14get_up_mds_setERSt3setIiSt4lessIiESaIiEE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _Z21ceph_entity_type_namei _ZN13SnapRealmInfo6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_03ptraSERKS2_ _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZNK6OSDMap14is_blacklistedERK16entity_addrvec_t _ZN8Objecter8shutdownEv _ZNK6MDSMap20is_cluster_availableEv _ZN15cap_reconnect_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN17ceph_lock_state_t11remove_lockE13ceph_filelockRNSt7__cxx114listIS0_SaIS0_EEE _ZNK5FSMap12get_mds_infoEv _ZN8Objecter24consume_blacklist_eventsEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZNK15cap_reconnect_t10encode_oldERN4ceph6buffer7v15_2_04listE _ZN9ReadaheadC1Ev _ZNK13entity_inst_t4dumpEPN4ceph9FormatterE _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN8Objecter16op_cancel_writesEil _ZN16feature_bitset_tmIERKS_ _ZNK21snaprealm_reconnect_t10encode_oldERN4ceph6buffer7v15_2_04listE _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z19ceph_flags_sys2wirei _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZN13file_layout_t11from_legacyERK16ceph_file_layout _ZN4ceph6buffer7v15_2_03ptraSEOS2_ _Z16ceph_cap_op_namei _Z13ceph_str_hashiPKcj _ZN8Objecter15_sg_read_finishERSt6vectorI12ObjectExtentSaIS1_EERS0_IN4ceph6buffer7v15_2_04listESaIS8_EEPS8_P7Context _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6buffer7v15_2_04list11append_zeroEj _ZN4ceph6buffer7v15_2_04list7rebuildEv _ZN4ceph6buffer7v15_2_03ptrC2Ej _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph6common10cmd_getvalERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5boost7variantIS7_JbldSt6vectorIS7_SaIS7_EESA_IlSaIlEESA_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SH_EEERSL_Rb _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrE _ZN9Readahead11dec_pendingEi _ZN4ceph6buffer7v15_2_03ptrC1EPKcj _ZNK16feature_bitset_t5printERSo _ZN9SafeTimer4initEv _ZN4ceph6common11CephContext3putEv _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN9SafeTimer8shutdownEv _ZN8Objecter17set_epoch_barrierEj _ZN16feature_bitset_tC1Em _ZN21snaprealm_reconnect_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZlsRSoPK8sockaddr _ZNK16entity_addrvec_t4dumpEPN4ceph9FormatterE _ZN8Objecter12get_fs_statsER11ceph_statfsN5boost8optionalIlEEP7Context _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6MDSMap6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _Z4dumpRK15ceph_dir_layoutPN4ceph9FormatterE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN8Objecter9op_submitEPNS_2OpEPmPi _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN9MonClient21get_monmap_and_configEv _ZN8Objecter22wait_for_latest_osdmapEP7Context _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjPc _Z18ceph_flags_to_modei _Z18ceph_caps_for_modei _ZN8Objecter8have_mapEj _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _Z18common_init_finishPN4ceph6common11CephContextE _ZN6Thread6createEPKcm _ZNK10EntityName6get_idB5cxx11Ev _ZN17ceph_lock_state_t8add_lockER13ceph_filelockbbPb _ZNK12CrushWrapper25get_full_location_orderedEiRSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ESaIS8_EE _ZN9MonClient8shutdownEv _ZNK5FSMap20find_mds_gid_by_nameESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6common12PerfCountersD1Ev _Z16ceph_mds_op_namei _ZN15cap_reconnect_t10decode_oldERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Readahead11inc_pendingEi _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZNK16feature_bitset_t6encodeERN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZN4ceph6common19PerfCountersBuilder8add_timeEiPKcS3_S3_i _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt6vectorI12ObjectExtentSaISA_EEm _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN4ceph6buffer7v15_2_04list6spliceEjjPS2_ _ZNK4ceph6buffer7v15_2_04list16get_wasted_spaceEv _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9Readahead22set_max_readahead_sizeEm _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _ZN4ceph6buffer7v15_2_04list5claimERS2_ _ZN9Readahead22set_min_readahead_sizeEm _ZN9SafeTimer12cancel_eventEP7Context _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjRS2_ _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN17ceph_lock_state_tD1Ev _Z19ceph_str_hash_validi _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZNK8Objecter16osdmap_full_flagEv _ZN8Objecter12wait_for_mapEjP7Contexti _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4seekEj _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_ _Z19ceph_str_hash_linuxPKcj _ZN21snaprealm_reconnect_t10decode_oldERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z18git_version_to_strv _ZNK5FSMap13print_summaryEPN4ceph9FormatterEPSo _ZN9Readahead22get_min_readahead_sizeEv _ZN16feature_bitset_tC1ERKSt6vectorImSaImEE _ZN8Objecter17maybe_request_mapEv _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZlsRSoRK12quota_info_t _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Objecter23enable_blacklist_eventsEv _ZN8Finisher4stopEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN9Readahead22get_max_readahead_sizeEv _ZN18CephInitParametersC1Ej _ZNK15cap_reconnect_t6encodeERN4ceph6buffer7v15_2_04listE _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN9Readahead6updateEmmm _ZNK6OSDMap14find_osd_on_ipERK13entity_addr_t _Z21pretty_version_to_strB5cxx11v _ZNK13file_layout_t4dumpEPN4ceph9FormatterE _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/python3.10/site-packages/rgw.cpython-310-x86_64-linux-gnu.so: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI6Thread _ZTI16OutputDataSocket _ZN16OutputDataSocket5entryEv _ZTIN4ceph6common16RefCountedObjectE _ZTIN4ceph9FormatterE _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph6global20g_assert_thread_nameE _ZN4ceph6global10g_eio_pathE _ZN4ceph6global13g_eio_devnameE _ZN4ceph6global12g_eio_lengthE _ZN9pg_pool_t20APPLICATION_NAME_RGWE _ZN4ceph6global11g_eio_errorE _ZN4ceph6global13g_assert_funcE _ZN4ceph6global13g_assert_lineE _ZN4ceph6global13g_assert_fileE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph14ResolvHWrapperE _ZTVN4ceph6buffer7v15_2_05errorE g_code_env _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6global12g_eio_offsetE _ZTV15JSONFormattable _ZN4ceph6global12g_eio_iotypeE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph6global18g_assert_conditionE _ZN4ceph6global5g_eioE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE g_lockdep _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph11DNSResolverD1Ev _ZTVN4ceph13JSONFormatterE _ZN4ceph6global12g_assert_msgE _ZN4ceph6global14g_process_nameE _ZTVN4ceph12XMLFormatterE mime_encode_as_qp _ZN4ceph12XMLFormatter13close_sectionEv _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph5crush13CrushLocation15init_on_startupEv _ZN4ceph13JSONFormatter13close_sectionEv _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _Z19escape_xml_attr_lenPKc _Z27gen_rand_alphanumeric_lowerB5cxx11PN4ceph6common11CephContextEm _ZN4ceph13HTMLFormatterC1Eb _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log11dump_recentEv _ZNK4ceph6common11CephContext15get_module_typeEv _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE encode_utf8 _Z11encode_jsonPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph9FormatterE _ZN16OutputDataSocketD2Ev _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9MonClientD1Ev _ZN10JSONParser5parseEPKci _ZN6ThreadC2Ev _ZN4ceph6common11CephContext16notify_post_forkEv _Z14lockdep_lockedPKcib _ZN4ceph13from_iso_8601EN5boost16basic_string_refIcSt11char_traitsIcEEEb XXH64 _ZN12AuthRegistryD1Ev _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _Z11encode_jsonPKcjPN4ceph9FormatterE _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph6crypto20zeroize_for_securityEPvm _ZN9MonClientC1EPN4ceph6common11CephContextE _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZN4ceph12XMLFormatter5flushERSo _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _Z15decode_json_objR7utime_tP7JSONObj _ZN4ceph7logging3Log12set_log_fileESt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext14get_init_flagsEv _Z14common_preinitRK18CephInitParameters18code_environment_ti check_for_control_characters _ZN11JSONObjIterdeEv _ZNK6Thread10is_startedEv _Z11encode_jsonPKcmPN4ceph9FormatterE _ZN7JSONObj9is_objectEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _Z15decode_json_objRjP7JSONObj _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN11md_config_t15set_val_defaultER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEERKNSt7__cxx1112basic_stringIcS7_SaIcEEE _ZN10ThreadPoolD1Ev _ZN4ceph14PluginRegistry13get_with_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ _Z19ceph_version_to_strv _ZN4ceph12XMLFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN15JSONFormattable3setERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph12XMLFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph7logging3Log17set_flush_on_exitEv _Z19lockdep_will_unlockPKci _ZN10ThreadPool7unpauseEv _Z14dout_emergencyPKc _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN12CryptoRandom9get_bytesEPci safe_read_file _ZN4ceph7logging3Log14chown_log_fileEjj _ZN4ceph6common11CephContext14set_init_flagsEi _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _Z15decode_json_objRN4ceph6buffer7v15_2_04listEP7JSONObj _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN16OutputDataSocket13append_outputERN4ceph6buffer7v15_2_04listE _Z15decode_json_objRlP7JSONObj _ZN4ceph6crypto3ssl13OpenSSLDigest6UpdateEPKhm _ZN4ceph9Formatter5flushERNS_6buffer7v15_2_04listE _ZN7JSONObj10find_firstEv _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigest5FinalEPh _ZN6ThreadD2Ev _ZN6Thread4killEi _Z27gen_rand_alphanumeric_upperPN4ceph6common11CephContextEPcm _Z16lockdep_registerPKc _ZNK11md_config_t16do_argv_commandsERK12ConfigValues _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigestD2Ev _ZN4ceph6common11CephContext15notify_pre_forkEv _ZN10ThreadPool4stopEb _ZN11JSONObjIterppEv _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph13JSONFormatter5flushERSo _ZN11JSONObjIterD1Ev ceph_unarmor _Z10env_to_vecRSt6vectorIPKcSaIS1_EES1_ _ZNK4ceph9BackTrace5printERSo _ZN4ceph6common11CephContext11reopen_logsEv _ZN4ceph9FormatterC2Ev _ZN9SafeTimer4initEv _ZNK15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common11CephContext3putEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv get_process_name _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE _ZN10JSONParserD1Ev _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log5flushEv _ZN4ceph13JSONFormatterC1Eb _ZN4ceph7logging3Log5startEv _Z11encode_jsonPKcbPN4ceph9FormatterE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN4ceph6crypto3ssl13OpenSSLDigest7RestartEv _ZlsRSoRK18xml_stream_escaper _Z18lockdep_unregisteri _Z14dout_emergencyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE check_utf8 _ZN4ceph6crypto3ssl13OpenSSLDigestC2EPK9evp_md_st _ZN16OutputDataSocketC2EPN4ceph6common11CephContextEm _ZN4ceph7logging3Log15reopen_log_fileEv _ZN9MonClient21get_monmap_and_configEv _ZN8Throttle3putEl _Z15decode_json_objRmP7JSONObj _ZN4ceph23register_assert_contextEPNS_6common11CephContextE _Z17lockdep_will_lockPKcibb _ZN15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK10EntityName6to_strB5cxx11Ev _ZN4ceph7logging3Log16set_stderr_levelEii _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z21gen_rand_alphanumericB5cxx11PN4ceph6common11CephContextEm _Z11encode_jsonPKcS0_PN4ceph9FormatterE _ZN4ceph6common11CephContext18get_crypto_handlerEi _ZN4ceph6common12PerfCounters3decEim _ZN16OutputDataSocket4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z12pipe_cloexecPii _ZN4ceph6global6g_confEv _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7JSONObj8get_dataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_8data_valE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _Z11encode_jsonPKclPN4ceph9FormatterE _ZN6Thread6createEPKcm _ZNK11md_config_t17early_expand_metaERK12ConfigValuesRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK15JSONFormattable4findERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph12XMLFormatterC1Ebbb _ZN4ceph11DNSResolver13resolve_cnameEPNS_6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS9_Pb _ZN4ceph6common12PerfCountersD1Ev _ZN12AuthRegistryC1EPN4ceph6common11CephContextE safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN10Compressor6createEPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6common19PerfCountersBuilder11add_u64_avgEiPKcS3_S3_ii _ZN4ceph7logging3Log4stopEv _ZNK15JSONFormattable3defERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc _ZN8Throttle3getEll _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_4listIS4_SaIS4_EEE _ZN4cephlsINS_11time_detail17coarse_real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK15JSONFormattable6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10ThreadPool5pauseEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _Z27gen_rand_alphanumeric_plainPN4ceph6common11CephContextEPcm _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _Z11get_str_mapRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3mapIS4_S4_St4lessIS4_ESaISt4pairIS5_S4_EEEPKc _ZN9SafeTimer17cancel_all_eventsEv _ZNK15JSONFormattable3defEb _Z24ceph_argparse_early_argsRSt6vectorIPKcSaIS1_EEjPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_ _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZNK4ceph6common16RefCountedObject3putEv _ZN10Compressor6createEPN4ceph6common11CephContextEi _Z15escape_xml_attrPKcPc _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _Z13block_signalsPKiP10__sigset_t _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6common19PerfCountersDeleterclEPNS0_12PerfCountersE _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec _ZNK15JSONFormattable3defEi _Z19ceph_str_hash_linuxPKcj _ZN12AuthRegistry15_refresh_configEv _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK12AuthRegistry21get_supported_methodsEiPSt6vectorIjSaIjEES3_ _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN4ceph7logging3Log18is_inside_log_lockEv _Z35gen_rand_alphanumeric_no_underscorePN4ceph6common11CephContextEPcm _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN4ceph9FormatterD2Ev _ZNK4ceph9BackTrace4dumpEPNS_9FormatterE safe_write _Z15decode_json_objRbP7JSONObj _Z11encode_jsonPKcRK15JSONFormattablePN4ceph9FormatterE _Z11encode_jsonPKcRK7utime_tPN4ceph9FormatterE _ZN8ThrottleD1Ev _ZN4ceph13JSONFormatterC2Eb _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Finisher4stopEv _Z11encode_jsonPKcRKN4ceph6buffer7v15_2_04listEPNS1_9FormatterE _ZN11md_config_t22finalize_reexpand_metaER12ConfigValuesRK13ConfigTracker _ZN4ceph11to_iso_8601B5cxx11ENSt6chrono10time_pointINS_11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEENS_15iso_8601_formatE _Z15decode_json_objRiP7JSONObj _Z21gen_rand_alphanumericPN4ceph6common11CephContextEPcm _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _Z20get_process_name_cppB5cxx11v _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _Z11encode_jsonPKciPN4ceph9FormatterE _Z21pretty_version_to_strB5cxx11v _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv + /usr/lib/rpm/anolis/brp-mangle-shebangs mangling shebang in /usr/bin/ceph-post-file from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/bin/ceph-run from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ceph-clsinfo from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ceph-rbdnamer from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/rbd-replay-many from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/bin/rbdmap from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/bin/rgw-gap-list from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/bin/rgw-orphan-list from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/ceph/ceph_common.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/ceph/ceph-osd-prestart.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/ocf/resource.d/ceph/rbd from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/ceph-create-keys from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/src/debug/dsms-storage-1.0-1.an23.x86_64/src/client/Client.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/dsms-storage-1.0-1.an23.x86_64/src/mds/CDir.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/dsms-storage-1.0-1.an23.x86_64/src/os/bluestore/bluestore_common.h is executable but has no shebang, removing executable bit + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: dsms-storage-1.0-1.an23.x86_64 Processing files: dsms-storage-base-1.0-1.an23.x86_64 Provides: config(dsms-storage-base) = 1.0-1.an23 dsms-storage-base = 1.0-1.an23 dsms-storage-base(x86-64) = 1.0-1.an23 dsms-storage-test:/usr/bin/ceph-kvstore-tool libceph_crypto_isal.so.1()(64bit) libceph_crypto_openssl.so()(64bit) libceph_lz4.so.2()(64bit) libceph_snappy.so.2()(64bit) libceph_zlib.so.2()(64bit) libceph_zstd.so.2()(64bit) libcls_cas.so.1()(64bit) libcls_cephfs.so.1()(64bit) libcls_hello.so.1()(64bit) libcls_journal.so.1()(64bit) libcls_kvs.so.1()(64bit) libcls_lock.so.1()(64bit) libcls_log.so.1()(64bit) libcls_lua.so.1()(64bit) libcls_numops.so.1()(64bit) libcls_otp.so.1()(64bit) libcls_queue.so.1()(64bit) libcls_rbd.so.1()(64bit) libcls_refcount.so.1()(64bit) libcls_rgw.so.1()(64bit) libcls_rgw_gc.so.1()(64bit) libcls_sdk.so.1()(64bit) libcls_timeindex.so.1()(64bit) libcls_user.so.1()(64bit) libcls_version.so.1()(64bit) libec_clay.so()(64bit) libec_isa.so()(64bit) libec_jerasure.so()(64bit) libec_jerasure_generic.so()(64bit) libec_jerasure_sse3.so()(64bit) libec_jerasure_sse4.so()(64bit) libec_lrc.so()(64bit) libec_shec.so()(64bit) libec_shec_generic.so()(64bit) libec_shec_sse3.so()(64bit) libec_shec_sse4.so()(64bit) libos_tp.so.1()(64bit) libosd_tp.so.1()(64bit) python3.10dist(ceph-volume) = 1 python3dist(ceph-volume) = 1 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/python3 /usr/bin/sh ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libceph_crypto_isal.so.1()(64bit) libceph_lz4.so.2()(64bit) libceph_snappy.so.2()(64bit) libceph_zlib.so.2()(64bit) libceph_zstd.so.2()(64bit) libcls_cas.so.1()(64bit) libcls_cephfs.so.1()(64bit) libcls_hello.so.1()(64bit) libcls_journal.so.1()(64bit) libcls_kvs.so.1()(64bit) libcls_lock.so.1()(64bit) libcls_log.so.1()(64bit) libcls_lua.so.1()(64bit) libcls_numops.so.1()(64bit) libcls_otp.so.1()(64bit) libcls_queue.so.1()(64bit) libcls_rbd.so.1()(64bit) libcls_refcount.so.1()(64bit) libcls_rgw.so.1()(64bit) libcls_rgw_gc.so.1()(64bit) libcls_sdk.so.1()(64bit) libcls_timeindex.so.1()(64bit) libcls_user.so.1()(64bit) libcls_version.so.1()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libfuse3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libleveldb.so.1()(64bit) liblttng-ust.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) liboath.so.0()(64bit) liboath.so.0(LIBOATH_1.10.0)(64bit) liboath.so.0(LIBOATH_1.12.0)(64bit) liboath.so.0(LIBOATH_1.2.0)(64bit) libos_tp.so.1()(64bit) libosd_tp.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libsnappy.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) libz.so.1()(64bit) python(abi) = 3.10 python3.10dist(ceph) rtld(GNU_HASH) Conflicts: ceph-base Recommends: chrony Processing files: dsms-storage-cephadm-1.0-1.an23.noarch Provides: dsms-storage-cephadm = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/python3 Conflicts: cephadm Recommends: podman Processing files: dsms-storage-common-1.0-1.an23.x86_64 Provides: config(dsms-storage-common) = 1.0-1.an23 dsms-storage-common = 1.0-1.an23 dsms-storage-common(x86-64) = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh systemd Requires(preun): systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/bash /usr/bin/python3 /usr/bin/sh ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libbabeltrace-ctf.so.1()(64bit) libbabeltrace.so.1()(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_2.17)(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcap-ng.so.0()(64bit) libceph-common.so.2()(64bit) libcephfs.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libexpat.so.1()(64bit) libform.so.6()(64bit) libfuse3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libkeyutils.so.1()(64bit) libkeyutils.so.1(KEYUTILS_0.3)(64bit) liblber.so.2()(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libleveldb.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libncurses.so.6()(64bit) liboath.so.0()(64bit) liboath.so.0(LIBOATH_1.10.0)(64bit) liboath.so.0(LIBOATH_1.2.0)(64bit) librabbitmq.so.4()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) libradosstriper.so.1()(64bit) librbd.so.1()(64bit) librdkafka.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libsnappy.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libtinfo.so.6()(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Conflicts: ceph-common Processing files: dsms-storage-mds-1.0-1.an23.x86_64 Provides: dsms-storage-mds = 1.0-1.an23 dsms-storage-mds(x86-64) = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: ceph-mds Processing files: dsms-storage-mon-1.0-1.an23.x86_64 Provides: dsms-storage-mon = 1.0-1.an23 dsms-storage-mon(x86-64) = 1.0-1.an23 dsms-storage-test:/usr/bin/ceph-monstore-tool Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libfuse3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libleveldb.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libsnappy.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Conflicts: ceph-mon Recommends: nvme-cli Processing files: dsms-storage-mgr-1.0-1.an23.x86_64 Provides: dsms-storage-mgr = 1.0-1.an23 dsms-storage-mgr(x86-64) = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_python310.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpython3.10.so.1.0()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: ceph-mgr Recommends: dsms-storage-mgr-cephadm = 1.0-1.an23 dsms-storage-mgr-dashboard = 1.0-1.an23 dsms-storage-mgr-diskprediction-local = 1.0-1.an23 dsms-storage-mgr-k8sevents = 1.0-1.an23 python3-influxdb Processing files: dsms-storage-mgr-dashboard-1.0-1.an23.noarch Provides: dsms-storage-mgr-dashboard = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Conflicts: ceph-mgr-dashboard Recommends: python3-saml Processing files: dsms-storage-mgr-diskprediction-local-1.0-1.an23.noarch Provides: dsms-storage-mgr-diskprediction-local = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Conflicts: ceph-mgr-diskprediction-local Processing files: dsms-storage-mgr-modules-core-1.0-1.an23.noarch Provides: dsms-storage-mgr-modules-core = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: ceph-mgr-modules-core Recommends: dsms-storage-mgr-rook = 1.0-1.an23 Processing files: dsms-storage-mgr-rook-1.0-1.an23.noarch Provides: dsms-storage-mgr-rook = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Conflicts: ceph-mgr-rook Processing files: dsms-storage-mgr-k8sevents-1.0-1.an23.noarch Provides: dsms-storage-mgr-k8sevents = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Conflicts: ceph-mgr-k8sevents Processing files: dsms-storage-mgr-cephadm-1.0-1.an23.noarch Provides: dsms-storage-mgr-cephadm = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Conflicts: ceph-mgr-cephadm Processing files: dsms-storage-fuse-1.0-1.an23.x86_64 Provides: dsms-storage-fuse = 1.0-1.an23 dsms-storage-fuse(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libfuse3.so.3()(64bit) libfuse3.so.3(FUSE_3.0)(64bit) libfuse3.so.3(FUSE_3.12)(64bit) libfuse3.so.3(FUSE_3.2)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: ceph-fuse Processing files: dsms-storage-rbd-fuse-1.0-1.an23.x86_64 Provides: dsms-storage-rbd-fuse = 1.0-1.an23 dsms-storage-rbd-fuse(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libfuse3.so.3()(64bit) libfuse3.so.3(FUSE_3.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librbd.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: rbd-fuse Processing files: dsms-storage-rbd-mirror-1.0-1.an23.x86_64 Provides: dsms-storage-rbd-mirror = 1.0-1.an23 dsms-storage-rbd-mirror(x86-64) = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: rbd-mirror Processing files: dsms-storage-immutable-object-cache-1.0-1.an23.x86_64 Provides: dsms-storage-immutable-object-cache = 1.0-1.an23 dsms-storage-immutable-object-cache(x86-64) = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: ceph-immutable-object-cache Processing files: dsms-storage-rbd-nbd-1.0-1.an23.x86_64 Provides: dsms-storage-rbd-nbd = 1.0-1.an23 dsms-storage-rbd-nbd(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librbd.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: rbd-nbd Processing files: dsms-storage-radosgw-1.0-1.an23.x86_64 Provides: dsms-storage-radosgw = 1.0-1.an23 dsms-storage-radosgw(x86-64) = 1.0-1.an23 libradosgw.so.2()(64bit) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/awk /usr/bin/bash ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libexpat.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) liblber.so.2()(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) liboath.so.0()(64bit) librabbitmq.so.4()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) libradosgw.so.2()(64bit) librdkafka.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: ceph-radosgw Recommends: gawk Processing files: dsms-storage-resource-agents-1.0-1.an23.x86_64 Provides: dsms-storage-resource-agents = 1.0-1.an23 dsms-storage-resource-agents(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: ceph-resource-agents Processing files: dsms-storage-osd-1.0-1.an23.x86_64 Provides: config(dsms-storage-osd) = 1.0-1.an23 dsms-storage-osd = 1.0-1.an23 dsms-storage-osd(x86-64) = 1.0-1.an23 dsms-storage-test:/usr/bin/ceph-osdomap-tool Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/python3 /usr/bin/sh ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_1.0)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libfuse3.so.3()(64bit) libfuse3.so.3(FUSE_3.0)(64bit) libfuse3.so.3(FUSE_3.1)(64bit) libfuse3.so.3(FUSE_3.12)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libibverbs.so.1(IBVERBS_1.0)(64bit) libibverbs.so.1(IBVERBS_1.1)(64bit) libleveldb.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) librdmacm.so.1()(64bit) librdmacm.so.1(RDMACM_1.0)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.9)(64bit) libsnappy.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Conflicts: ceph-osd Recommends: nvme-cli smartmontools Processing files: dsms-storage-librados2-1.0-1.an23.x86_64 Provides: dsms-storage-librados2 = 1.0-1.an23 dsms-storage-librados2(x86-64) = 1.0-1.an23 libceph-common.so.2()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librados.so.2(LIBRADOS_PRIVATE)(64bit) librados_tp.so.2()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_1.0)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libibverbs.so.1(IBVERBS_1.0)(64bit) libibverbs.so.1(IBVERBS_1.1)(64bit) liblttng-ust.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) librdmacm.so.1()(64bit) librdmacm.so.1(RDMACM_1.0)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.9)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) rtld(GNU_HASH) Conflicts: librados2 Obsoletes: dsms-storage-libs < 1.0-1.an23 Processing files: dsms-storage-librados-devel-1.0-1.an23.x86_64 Provides: dsms-storage-librados-devel = 1.0-1.an23 dsms-storage-librados-devel(x86-64) = 1.0-1.an23 dsms-storage-librados2-devel = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libboost_program_options.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librados_tp.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Conflicts: librados-devel Obsoletes: dsms-storage-devel < 1.0-1.an23 dsms-storage-librados2-devel < 1.0-1.an23 Processing files: dsms-storage-libradospp-devel-1.0-1.an23.x86_64 Provides: dsms-storage-libradospp-devel = 1.0-1.an23 dsms-storage-libradospp-devel(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: libradospp-devel Processing files: dsms-storage-librgw2-1.0-1.an23.x86_64 Provides: dsms-storage-librgw2 = 1.0-1.an23 dsms-storage-librgw2(x86-64) = 1.0-1.an23 librgw.so.2()(64bit) librgw_op_tp.so.1()(64bit) librgw_rados_tp.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libexpat.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) liblber.so.2()(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) liblttng-ust.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) liboath.so.0()(64bit) librabbitmq.so.4()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdkafka.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: librgw2 Processing files: dsms-storage-librgw-devel-1.0-1.an23.x86_64 Provides: dsms-storage-librgw-devel = 1.0-1.an23 dsms-storage-librgw-devel(x86-64) = 1.0-1.an23 dsms-storage-librgw2-devel = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: librgw.so.2()(64bit) librgw_op_tp.so.1()(64bit) librgw_rados_tp.so.1()(64bit) Conflicts: librgw-devel Obsoletes: dsms-storage-librgw2-devel < 1.0-1.an23 Processing files: python3-dsms-storage-rgw-1.0-1.an23.x86_64 Provides: python-dsms-storage-rgw = 1.0-1.an23 python3-dsms-storage-rgw = 1.0-1.an23 python3-dsms-storage-rgw(x86-64) = 1.0-1.an23 python3.10-dsms-storage-rgw = 1.0-1.an23 python3.10dist(rgw) = 2 python3dist(rgw) = 2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpython3.10.so.1.0()(64bit) librados.so.2()(64bit) librgw.so.2()(64bit) python(abi) = 3.10 rtld(GNU_HASH) Conflicts: python3-rgw Obsoletes: python-dsms-storage-rgw < 1.0-1.an23 Processing files: python3-dsms-storage-rados-1.0-1.an23.x86_64 Provides: python-dsms-storage-rados = 1.0-1.an23 python3-dsms-storage-rados = 1.0-1.an23 python3-dsms-storage-rados(x86-64) = 1.0-1.an23 python3.10-dsms-storage-rados = 1.0-1.an23 python3.10dist(rados) = 2 python3dist(rados) = 2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpython3.10.so.1.0()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) python(abi) = 3.10 rtld(GNU_HASH) Conflicts: python3-rados Obsoletes: python-dsms-storage-rados < 1.0-1.an23 Processing files: dsms-storage-libradosstriper1-1.0-1.an23.x86_64 Provides: dsms-storage-libradosstriper1 = 1.0-1.an23 dsms-storage-libradosstriper1(x86-64) = 1.0-1.an23 libradosstriper.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: libradosstriper1 Processing files: dsms-storage-libradosstriper-devel-1.0-1.an23.x86_64 Provides: dsms-storage-libradosstriper-devel = 1.0-1.an23 dsms-storage-libradosstriper-devel(x86-64) = 1.0-1.an23 dsms-storage-libradosstriper1-devel = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libradosstriper.so.1()(64bit) Conflicts: libradosstriper-devel Obsoletes: dsms-storage-devel < 1.0-1.an23 dsms-storage-libradosstriper1-devel < 1.0-1.an23 Processing files: dsms-storage-librbd1-1.0-1.an23.x86_64 Provides: dsms-storage-librbd1 = 1.0-1.an23 dsms-storage-librbd1(x86-64) = 1.0-1.an23 librbd.so.1()(64bit) librbd_tp.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) liblttng-ust.so.1()(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: librbd1 Obsoletes: dsms-storage-libs < 1.0-1.an23 Processing files: dsms-storage-librbd-devel-1.0-1.an23.x86_64 Provides: dsms-storage-librbd-devel = 1.0-1.an23 dsms-storage-librbd-devel(x86-64) = 1.0-1.an23 dsms-storage-librbd1-devel = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: librbd.so.1()(64bit) librbd_tp.so.1()(64bit) Conflicts: librbd-devel Obsoletes: dsms-storage-ceph-devel < 1.0-1.an23 dsms-storage-librbd1-devel < 1.0-1.an23 Processing files: python3-dsms-storage-rbd-1.0-1.an23.x86_64 Provides: python-dsms-storage-rbd = 1.0-1.an23 python3-dsms-storage-rbd = 1.0-1.an23 python3-dsms-storage-rbd(x86-64) = 1.0-1.an23 python3.10-dsms-storage-rbd = 1.0-1.an23 python3.10dist(rbd) = 2 python3dist(rbd) = 2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpython3.10.so.1.0()(64bit) librados.so.2()(64bit) librbd.so.1()(64bit) python(abi) = 3.10 rtld(GNU_HASH) Conflicts: python3-rbd Obsoletes: python-dsms-storage-rbd < 1.0-1.an23 Processing files: dsms-storage-libcephfs2-1.0-1.an23.x86_64 Provides: dsms-storage-libcephfs2 = 1.0-1.an23 dsms-storage-libcephfs2(x86-64) = 1.0-1.an23 libcephfs.so.2()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Conflicts: libcephfs2 Obsoletes: dsms-storage-libcephfs < 1.0-1.an23 dsms-storage-libcephfs1 < 1.0-1.an23 dsms-storage-libs < 1.0-1.an23 Processing files: dsms-storage-libcephfs-devel-1.0-1.an23.x86_64 Provides: dsms-storage-libcephfs-devel = 1.0-1.an23 dsms-storage-libcephfs-devel(x86-64) = 1.0-1.an23 dsms-storage-libcephfs2-devel = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libcephfs.so.2()(64bit) Conflicts: libcephfs-devel Obsoletes: dsms-storage-devel < 1.0-1.an23 dsms-storage-libcephfs2-devel < 1.0-1.an23 Processing files: python3-dsms-storage-cephfs-1.0-1.an23.x86_64 Provides: python-dsms-storage-cephfs = 1.0-1.an23 python3-dsms-storage-cephfs = 1.0-1.an23 python3-dsms-storage-cephfs(x86-64) = 1.0-1.an23 python3.10-dsms-storage-cephfs = 1.0-1.an23 python3.10dist(cephfs) = 2 python3dist(cephfs) = 2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcephfs.so.2()(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpython3.10.so.1.0()(64bit) python(abi) = 3.10 rtld(GNU_HASH) Conflicts: python3-cephfs Obsoletes: python-dsms-storage-cephfs < 1.0-1.an23 Processing files: python3-dsms-storage-argparse-1.0-1.an23.x86_64 Provides: python-dsms-storage-argparse = 1.0-1.an23 python3-dsms-storage-argparse = 1.0-1.an23 python3-dsms-storage-argparse(x86-64) = 1.0-1.an23 python3.10-dsms-storage-argparse = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.10 Conflicts: python3-ceph-argpars Obsoletes: python-dsms-storage-argparse < 1.0-1.an23 Processing files: python3-dsms-storage-common-1.0-1.an23.x86_64 Provides: python-dsms-storage-common = 1.0-1.an23 python3-dsms-storage-common = 1.0-1.an23 python3-dsms-storage-common(x86-64) = 1.0-1.an23 python3.10-dsms-storage-common = 1.0-1.an23 python3.10dist(ceph) = 1 python3dist(ceph) = 1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.10 python3.10dist(pyyaml) python3.10dist(six) Conflicts: python3-ceph-common Obsoletes: python-dsms-storage-common < 1.0-1.an23 Processing files: dsms-storage-cephfs-shell-1.0-1.an23.x86_64 Provides: dsms-storage-cephfs-shell = 1.0-1.an23 dsms-storage-cephfs-shell(x86-64) = 1.0-1.an23 python3.10dist(cephfs-shell) = 0.0.1 python3dist(cephfs-shell) = 0.0.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.10 python3.10dist(cephfs) python3.10dist(cmd2) python3.10dist(colorama) Conflicts: cephfs-shell Processing files: dsms-storage-rados-objclass-devel-1.0-1.an23.x86_64 Provides: dsms-storage-rados-objclass-devel = 1.0-1.an23 dsms-storage-rados-objclass-devel(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Conflicts: rados-objclass-devel Processing files: dsms-storage-selinux-1.0-1.an23.x86_64 Provides: dsms-storage-selinux = 1.0-1.an23 dsms-storage-selinux(x86-64) = 1.0-1.an23 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh dsms-storage-base = 1.0-1.an23 gawk policycoreutils selinux-policy-base >= 0.0.0 Requires(postun): /bin/sh policycoreutils Conflicts: ceph-selinux Processing files: dsms-storage-grafana-dashboards-1.0-1.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YyfMk1 + umask 022 + cd /builddir/build/BUILD + cd dsms-storage-v1.0 + DOCDIR=/builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/doc/dsms-storage-grafana-dashboards + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/doc/dsms-storage-grafana-dashboards + cp -pr monitoring/grafana/dashboards/README /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/doc/dsms-storage-grafana-dashboards + cp -pr monitoring/grafana/README.md /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64/usr/share/doc/dsms-storage-grafana-dashboards + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(dsms-storage-grafana-dashboards) = 1.0-1.an23 dsms-storage-grafana-dashboards = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dsms-storage-prometheus-alerts-1.0-1.an23.noarch Provides: config(dsms-storage-prometheus-alerts) = 1.0-1.an23 dsms-storage-prometheus-alerts = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dsms-storage-debugsource-1.0-1.an23.x86_64 Provides: dsms-storage-debugsource = 1.0-1.an23 dsms-storage-debugsource(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dsms-storage-base-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 058988dd93c7da430806430c06797c39a5311d37 debuginfo(build-id) = 0b144c4a1a9797b5a2c80c3bce087eacf24da658 debuginfo(build-id) = 0cc4c733d3aaad652930ea2dae6f02e47204af2d debuginfo(build-id) = 0f137095875d3d44ed5f5044bec7a5798544a4ef debuginfo(build-id) = 1213e7ff2c310ca819874040d2e5cd78e62ed532 debuginfo(build-id) = 17fd4d84e4bfe2689903047d1bf1ba8e7b3bbd1f debuginfo(build-id) = 1ae21215ccb0b4e98a9b0f2f1e5e5ff137960004 debuginfo(build-id) = 1dedfb6411434fa16a63b368431cdc7f94a20364 debuginfo(build-id) = 1eba1ea188ddbb9e5c9fef883e076f0c134c5404 debuginfo(build-id) = 2bf68738e00ff12e9fb66fbbc9b3b9e013137f61 debuginfo(build-id) = 30ab2ccb47824a471d7092eec1fbc7003f3311c9 debuginfo(build-id) = 41b8454e533a0066c7d5c190eb02b0ea25602342 debuginfo(build-id) = 6295265e333a087aba87c0aa83e342d1800795ab debuginfo(build-id) = 6989775ebe1ca70e1ab429ac2afab27d238da7d5 debuginfo(build-id) = 69c2db819d476f845ceba37c6176f504810f4e35 debuginfo(build-id) = 6b642bd00b58c5241c816a5db2885b107baa3bf7 debuginfo(build-id) = 6e2f2cfd3077197bc220fe962b78c17d9005e71c debuginfo(build-id) = 7054b7a4f93673297d502fde08d75157ab596dfa debuginfo(build-id) = 74d035080afb84c7c43e43135c51b75c12917215 debuginfo(build-id) = 797fdccc97ba9deb03c08fdf280ca8c1c3ef0e53 debuginfo(build-id) = 8038c6cbf0a9bf06ae9f7827b0da28cc2e25ecd3 debuginfo(build-id) = 80cdf559b3932cf1a371a86e85e0a60e33fcbb6c debuginfo(build-id) = 9c7f92697a2d99a8325103a0a600dacba5b8c905 debuginfo(build-id) = 9fc421bb6badb9d25dc626baa9bb093b922e4ce7 debuginfo(build-id) = a4cf502d28a2fc3e57c644e47729fa90a0d232aa debuginfo(build-id) = a92a553d7bbc672ec7721dc15f8f0eb6e55a1f9f debuginfo(build-id) = b09218db87a156ecfd4c9644e134d73accded640 debuginfo(build-id) = b60172eb43d3dde1582c765f5591a958e35f9bed debuginfo(build-id) = bc97760b85c32c24681ff35dadbcddc860dc2a98 debuginfo(build-id) = ce4b68abbfd26c4f9cd609321b8e53f0a785de87 debuginfo(build-id) = d49e1abd5dbf859d2e1fb45e5bd74f22f2ee5f08 debuginfo(build-id) = d8fbec28326d0a6066d3ed08ee14bfbe786ad9d8 debuginfo(build-id) = d9bdf79d63bb9e7163b8a97e978f1655a35d6df1 debuginfo(build-id) = e9ac15967dd53f02a935ac40069fe2b1be76f882 debuginfo(build-id) = ea0bfdf0fd3b730e147882df84dd2904a88d864a debuginfo(build-id) = eb63441910415dfde6b4a90564f95b354f5dc1cc debuginfo(build-id) = ee8c89797208344acc5401c0b3d2adec2330f45b debuginfo(build-id) = f05ec18d967e86a87cb4be0297250c76dc345a0f debuginfo(build-id) = f15473bd2a768e3ba8a59641598254df7dec7e53 debuginfo(build-id) = f3095fc11b86398d0229763fb8b59fc117aea6f0 debuginfo(build-id) = f85959a0ed4f27e4949de43116a015ef29c49a58 debuginfo(build-id) = f95f298bbe53711cbba81d1c856b03ab6f8ddac4 dsms-storage-base-debuginfo = 1.0-1.an23 dsms-storage-base-debuginfo(x86-64) = 1.0-1.an23 libceph_crypto_isal.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libceph_crypto_openssl.so-1.0-1.an23.x86_64.debug()(64bit) libceph_lz4.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) libceph_snappy.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) libceph_zlib.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) libceph_zstd.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_cas.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_cephfs.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_hello.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_journal.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_kvs.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_lock.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_log.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_lua.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_numops.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_otp.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_queue.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_rbd.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_refcount.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_rgw.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_rgw_gc.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_sdk.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_timeindex.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_user.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libcls_version.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libec_clay.so-1.0-1.an23.x86_64.debug()(64bit) libec_isa.so-1.0-1.an23.x86_64.debug()(64bit) libec_jerasure.so-1.0-1.an23.x86_64.debug()(64bit) libec_jerasure_generic.so-1.0-1.an23.x86_64.debug()(64bit) libec_jerasure_sse3.so-1.0-1.an23.x86_64.debug()(64bit) libec_jerasure_sse4.so-1.0-1.an23.x86_64.debug()(64bit) libec_lrc.so-1.0-1.an23.x86_64.debug()(64bit) libec_shec.so-1.0-1.an23.x86_64.debug()(64bit) libec_shec_generic.so-1.0-1.an23.x86_64.debug()(64bit) libec_shec_sse3.so-1.0-1.an23.x86_64.debug()(64bit) libec_shec_sse4.so-1.0-1.an23.x86_64.debug()(64bit) libos_tp.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) libosd_tp.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-common-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 0a1e471735b6cbc3286229a5b971f9dce073e641 debuginfo(build-id) = 16df0d36b6f5ebc57da5bb75ab773e839aea1b76 debuginfo(build-id) = 1be4a0ebf1df807df676b0d52313ce912c9dca9f debuginfo(build-id) = 317769a96d2f65cb1d47f5c26117fc4d13c37a99 debuginfo(build-id) = 4d60b4649656d25ab6377ef2ae93c6b64ab8eaa8 debuginfo(build-id) = 80dbd63454e0e9c6c871e245b66b7be74f042339 debuginfo(build-id) = a9291e0b937d210949a1cbf6d7549c22d84e8e5e debuginfo(build-id) = c27e0d91764d26804e636d73d810bd37988a2102 debuginfo(build-id) = d510b235bfefb1cc0344d736aaf5261ecb1ae1fa debuginfo(build-id) = dac6f048023e7cad7ffe618ab7a351c0db816d77 debuginfo(build-id) = ea14ed15b54dadf9f1f0d8a00b4bd2cc30821acd debuginfo(build-id) = f07abbd7e9e3d95e1b40be82108b54f54178efea debuginfo(build-id) = f3b5091386af750ff07a1008f91416e209d2c633 dsms-storage-common-debuginfo = 1.0-1.an23 dsms-storage-common-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-mds-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 7e5b081309d87ae4c0d5ae75db41a0f8483aaeb6 dsms-storage-mds-debuginfo = 1.0-1.an23 dsms-storage-mds-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-mon-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 8b137bc6f75af13ddc434453bfe90c03709ddd9c debuginfo(build-id) = eea3be19643f57fa1b976d1da1b4fcb7138509a8 dsms-storage-mon-debuginfo = 1.0-1.an23 dsms-storage-mon-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-mgr-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 95412a2cc092ff467887d401e1628f8bc684da02 dsms-storage-mgr-debuginfo = 1.0-1.an23 dsms-storage-mgr-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-fuse-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 6546d871d8f1639ad2a3c8d2ca6af936f2215433 dsms-storage-fuse-debuginfo = 1.0-1.an23 dsms-storage-fuse-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-rbd-fuse-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 6f02e647a811085f00c7fd145ca72e3813f2ca88 dsms-storage-rbd-fuse-debuginfo = 1.0-1.an23 dsms-storage-rbd-fuse-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-rbd-mirror-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = e22a6c84ecb8d27ac9f7b1a07156a20f270ef6a8 dsms-storage-rbd-mirror-debuginfo = 1.0-1.an23 dsms-storage-rbd-mirror-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-immutable-object-cache-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = f663544464d2469e7b0cb20bcfe7c8b490f91c75 dsms-storage-immutable-object-cache-debuginfo = 1.0-1.an23 dsms-storage-immutable-object-cache-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-rbd-nbd-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 14106267294bbe8ec9eccd1f4b6bc4f9ab5191a9 dsms-storage-rbd-nbd-debuginfo = 1.0-1.an23 dsms-storage-rbd-nbd-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-radosgw-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 1f5ad1651e6fc713106ba57b5028ab51a5452433 debuginfo(build-id) = 2689bb222eae2c25af50a339b643fa98b966b35f debuginfo(build-id) = 7835eb8f7f8907460c006f86078b09a619a21670 debuginfo(build-id) = 794520b86c08a97d5af2b2f5f0c3f449c5fa687a debuginfo(build-id) = 894f570a0ff4899aecb7d84f8d41f334841fe283 debuginfo(build-id) = a34bc40b8c0ca2db4aa8659dc2d940f11567afb6 dsms-storage-radosgw-debuginfo = 1.0-1.an23 dsms-storage-radosgw-debuginfo(x86-64) = 1.0-1.an23 libradosgw.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-osd-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 1657f976eec79d91244e0e69fd6c3a0fe074270b debuginfo(build-id) = 18eda533cb5ee54b5130fba48fce4178cd0e6946 debuginfo(build-id) = 45970a19f4fcf4492c25cc454a28e66a27dfd958 debuginfo(build-id) = 704dcf66503c3df9f4f58df8c2cbf440aac406ef debuginfo(build-id) = 9ce7f53c580dcd7469370e8c9d8dbd8553d7af48 dsms-storage-osd-debuginfo = 1.0-1.an23 dsms-storage-osd-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-librados2-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 42d30b98d9ab48c610d8c0b0f6726b0acad520b8 debuginfo(build-id) = 58815250f29ca17447603f505ea0f32f6b4c2a86 debuginfo(build-id) = ecf4a21a31a4f45ed155e1a0bf0258d4df59e7d7 dsms-storage-librados2-debuginfo = 1.0-1.an23 dsms-storage-librados2-debuginfo(x86-64) = 1.0-1.an23 libceph-common.so.2-1.0-1.an23.x86_64.debug()(64bit) librados.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) librados_tp.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-librados-devel-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = ef6cdac2e00e1bca08092c0dc88b3859815acd9d dsms-storage-librados-devel-debuginfo = 1.0-1.an23 dsms-storage-librados-devel-debuginfo(x86-64) = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-librgw2-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 286295d78b7d04522bb3292bfa4646f554fd80cb debuginfo(build-id) = 3151eb3a0e3531f9a579ab2a559a5333baf53a76 debuginfo(build-id) = 3d3fc884cfa52ab8e18e6e1d947d47412008384b dsms-storage-librgw2-debuginfo = 1.0-1.an23 dsms-storage-librgw2-debuginfo(x86-64) = 1.0-1.an23 librgw.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) librgw_op_tp.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) librgw_rados_tp.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: python3-dsms-storage-rgw-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 04c32eb7e33ff1f1ce0c8f15a441e3ded2f6ee9e python-dsms-storage-rgw-debuginfo = 1.0-1.an23 python3-dsms-storage-rgw-debuginfo = 1.0-1.an23 python3-dsms-storage-rgw-debuginfo(x86-64) = 1.0-1.an23 python3.10-dsms-storage-rgw-debuginfo = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: python3-dsms-storage-rados-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 920c5ee7382ed53ca7e893eb378c23e2339b942d python-dsms-storage-rados-debuginfo = 1.0-1.an23 python3-dsms-storage-rados-debuginfo = 1.0-1.an23 python3-dsms-storage-rados-debuginfo(x86-64) = 1.0-1.an23 python3.10-dsms-storage-rados-debuginfo = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-libradosstriper1-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 664aa1e7320a7d8bd25ebc704dcc98de5496c0ad dsms-storage-libradosstriper1-debuginfo = 1.0-1.an23 dsms-storage-libradosstriper1-debuginfo(x86-64) = 1.0-1.an23 libradosstriper.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-librbd1-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 9cf1d57685b2af6e5779d8f40a329a125136521c debuginfo(build-id) = eafc174cec7002255766dad0e6233e93c86cc482 dsms-storage-librbd1-debuginfo = 1.0-1.an23 dsms-storage-librbd1-debuginfo(x86-64) = 1.0-1.an23 librbd.so.1.12.0-1.0-1.an23.x86_64.debug()(64bit) librbd_tp.so.1.0.0-1.0-1.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: python3-dsms-storage-rbd-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 7de44b26b0730a5658c3ac1b0137f817e425d7e5 python-dsms-storage-rbd-debuginfo = 1.0-1.an23 python3-dsms-storage-rbd-debuginfo = 1.0-1.an23 python3-dsms-storage-rbd-debuginfo(x86-64) = 1.0-1.an23 python3.10-dsms-storage-rbd-debuginfo = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: dsms-storage-libcephfs2-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = 182f90bc1c06a2f4b7de43a8de8a0a2390dbda5b dsms-storage-libcephfs2-debuginfo = 1.0-1.an23 dsms-storage-libcephfs2-debuginfo(x86-64) = 1.0-1.an23 libcephfs.so.2.0.0-1.0-1.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Processing files: python3-dsms-storage-cephfs-debuginfo-1.0-1.an23.x86_64 Provides: debuginfo(build-id) = d258a101063640e78a9eb5a7dfee610f4a97002b python-dsms-storage-cephfs-debuginfo = 1.0-1.an23 python3-dsms-storage-cephfs-debuginfo = 1.0-1.an23 python3-dsms-storage-cephfs-debuginfo(x86-64) = 1.0-1.an23 python3.10-dsms-storage-cephfs-debuginfo = 1.0-1.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-1.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dsms-storage-1.0-1.an23.x86_64 Wrote: /builddir/build/RPMS/dsms-storage-prometheus-alerts-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-librgw-devel-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-k8sevents-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-rbd-fuse-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-libradosstriper-devel-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-rados-objclass-devel-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-cephfs-shell-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-resource-agents-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-cephadm-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-argparse-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-libradospp-devel-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-rook-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-libcephfs-devel-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-cephadm-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-rgw-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-selinux-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-librbd-devel-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-immutable-object-cache-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-librados-devel-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-common-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-cephfs-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-rados-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-grafana-dashboards-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-rbd-nbd-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-rgw-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-modules-core-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-librados-devel-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-libradosstriper1-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-fuse-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-rbd-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-cephfs-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-libcephfs2-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mds-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-rados-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-dsms-storage-rbd-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-rbd-fuse-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-rbd-nbd-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-immutable-object-cache-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-librbd1-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-librgw2-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-dashboard-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-mon-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-rbd-mirror-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-librados2-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-base-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-libradosstriper1-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-radosgw-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-fuse-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-libcephfs2-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-debugsource-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-osd-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-diskprediction-local-1.0-1.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-common-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mds-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-librbd1-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-rbd-mirror-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-librados2-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-librgw2-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mon-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-base-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-radosgw-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-osd-debuginfo-1.0-1.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-common-debuginfo-1.0-1.an23.x86_64.rpm Child return code was: 0